#AFC135#AFC135
#AFC135 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.2% C 0.159 H 116.7°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC135 |
|---|---|
| RGB | rgb(175, 193, 53) |
| HSL | hsl(68, 57%, 48%) |
| HSV | hsv(68, 73%, 76%) |
| CMYK | cmyk(9.3%, 0%, 72.5%, 24.3%) |
| CIE-LAB | lab(74.52, -23.78, 64.15) |
| CIE-LCH | lch(74.52, 68.42, 110.34°) |
| OKLab | oklab(77.22% -0.0716 0.1422) |
| OKLCH | oklch(77.22% 0.159 116.7) |
| XYZ | xyz(37.3927, 47.5114, 10.5683) |
| Luminance | 0.4751 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.17
Snot
#ACBB0D
ΔE00 2.76
Gross Green
#A0BF16
ΔE00 2.94
Bile
#B5C306
ΔE00 3.18
Baby Puke Green
#B6C406
ΔE00 3.30
Sick Green
#9DB92C
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC135 #4735C1
analogous
#C18D35 #AFC135 #69C135
triadic
#AFC135 #35AFC1 #C135AF
tetradic
#AFC135 #35C18D #4735C1 #C13569
square
#AFC135 #35C18D #4735C1 #C13569
split-complementary
#AFC135 #3569C1 #8D35C1
monochromatic
#58611B #839128 #AFC135 #C4D360 #D6E090
Accessibility & contrast
On white
2.00
#AFC135 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.50
#AFC135 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC135
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC135 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC135 | 1.00 | 2.00 | 10.50 | 10.50 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB71A
Deuteranopia (green-blind)
#CDB841
Tritanopia (blue-blind)
#BAB6A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc135; /* rgb */ color: rgb(175, 193, 53); /* oklch */ color: oklch(77.2% 0.159 116.7);
Tailwind
colors: {
custom: {
50: '#cad376',
500: '#afc135',
950: '#000000',
},
}SCSS
$custom: #afc135; $custom-light: #cad376; $custom-dark: #000000;
JSON
{
"hex": "#afc135",
"rgb": {
"r": 175,
"g": 193,
"b": 53
},
"hsl": {
"h": 67.714,
"s": 56.911,
"l": 48.235
},
"oklch": {
"l": 0.77216,
"c": 0.15923,
"h": 116.7
},
"luminance": 0.47511
}Semantic roles & 50–950 ramp
primary
#AFC135
secondary
#8F87CB
accent
#48E05B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B