#AFC137#AFC137
#AFC137 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.2% C 0.158 H 116.7°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC137 |
|---|---|
| RGB | rgb(175, 193, 55) |
| HSL | hsl(68, 56%, 49%) |
| HSV | hsv(68, 72%, 76%) |
| CMYK | cmyk(9.3%, 0%, 71.5%, 24.3%) |
| CIE-LAB | lab(74.53, -23.68, 63.46) |
| CIE-LCH | lch(74.53, 67.73, 110.47°) |
| OKLab | oklab(77.23% -0.0711 0.1411) |
| OKLCH | oklch(77.23% 0.158 116.7) |
| XYZ | xyz(37.4397, 47.5302, 10.8156) |
| Luminance | 0.4753 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.24
Snot
#ACBB0D
ΔE00 2.91
Gross Green
#A0BF16
ΔE00 3.01
Bile
#B5C306
ΔE00 3.35
Sick Green
#9DB92C
ΔE00 3.39
Baby Puke Green
#B6C406
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC137 #4937C1
analogous
#C18E37 #AFC137 #6AC137
triadic
#AFC137 #37AFC1 #C137AF
tetradic
#AFC137 #37C18E #4937C1 #C1376A
square
#AFC137 #37C18E #4937C1 #C1376A
split-complementary
#AFC137 #376AC1 #8E37C1
monochromatic
#59621C #849129 #AFC137 #C4D263 #D6E092
Accessibility & contrast
On white
2.00
#AFC137 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.51
#AFC137 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC137
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC137 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC137 | 1.00 | 2.00 | 10.51 | 10.51 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB71E
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#BAB6A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc137; /* rgb */ color: rgb(175, 193, 55); /* oklch */ color: oklch(77.2% 0.158 116.7);
Tailwind
colors: {
custom: {
50: '#cad377',
500: '#afc137',
950: '#000000',
},
}SCSS
$custom: #afc137; $custom-light: #cad377; $custom-dark: #000000;
JSON
{
"hex": "#afc137",
"rgb": {
"r": 175,
"g": 193,
"b": 55
},
"hsl": {
"h": 67.826,
"s": 55.645,
"l": 48.627
},
"oklch": {
"l": 0.7723,
"c": 0.15802,
"h": 116.7
},
"luminance": 0.4753
}Semantic roles & 50–950 ramp
primary
#AFC137
secondary
#9189CB
accent
#49DF5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B