#C5E17A

Khaki

#C5E17AKhaki

Luminance

0.671

Category

Green

Type

Light

Best On

#000000

Color Codes

All color formats for your project

HEX

HEX
#C5E17A
No #
C5E17A

RGB

RGB
rgb(197, 225, 122)
Values
R:197 G:225 B:122

HSL

HSL
hsl(76, 63%, 68%)
Values
H:76° S:63% L:68%

HSV / HSB

HSV
hsv(76, 46%, 88%)
Values
H:76° S:46% V:88%

CMYK

CMYK
cmyk(12%, 0%, 46%, 12%)
Values
C:12 M:0 Y:46 K:12

LAB

LAB
lab(86, -25, 47)
Values
L:86 a:-25 b:47

OKLCH

OKLCH
oklch(86.7% 0.133 121.7)
Values
L:86.7% C:0.133 H:121.7°

Code Formats

CSS
color: #C5E17A;
Swift
UIColor(red: 0.773, green: 0.882, blue: 0.478, alpha: 1.0)
Kotlin
Color(0xFFC5E17A)
Flutter
Color(0xFFC5E17A)
Android
#FFC5E17A

Contrast Analysis

WCAG compliance with grayscale colors

On White

1.46:1

Fail

On Black

14.43:1

AAA

Grayscale Contrast

Aa

0%

14.4

AAA
Aa

10%

12.0

AAA
Aa

20%

8.7

AAA
Aa

30%

5.8

AA
Aa

40%

3.9

AA-large
Aa

50%

2.8

Fail
Aa

60%

2.0

Fail
Aa

70%

1.4

Fail
Aa

80%

1.1

Fail
Aa

90%

1.2

Fail
Aa

100%

1.5

Fail

Best Grayscale Contrast

#000000 with ratio 14.43:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #E4F1C1 0%, #9EC82D 100%)
OKLCH
linear-gradient(90deg, oklch(93.6% 0.064 120.0) 0%, oklch(77.5% 0.179 124.2) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #CEEE77 0%, #C0F236 100%)
OKLCH
linear-gradient(135deg, oklch(90.1% 0.150 121.9) 0%, oklch(89.5% 0.207 124.1) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #C5E17A 0%, #957AE1 100%)
OKLCH
linear-gradient(90deg, oklch(86.7% 0.133 121.7) 0%, oklch(65.0% 0.151 293.9) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #E1C97A 0%, #C5E17A 50%, #92E17A 100%)
OKLCH
linear-gradient(90deg, oklch(83.9% 0.103 93.1) 0%, oklch(86.7% 0.133 121.7) 50%, oklch(83.5% 0.157 138.7) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #B7D959 0%, #232915 100%)
OKLCH
linear-gradient(180deg, oklch(83.5% 0.159 122.4) 0%, oklch(26.9% 0.036 122.4) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #D2E797 0%, #AAD33C 100%)
OKLCH
radial-gradient(circle, oklch(89.4% 0.105 120.5) 0%, oklch(81.0% 0.178 123.7) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette