#AFC233#AFC233
#AFC233 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.4% C 0.162 H 117.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC233 |
|---|---|
| RGB | rgb(175, 194, 51) |
| HSL | hsl(68, 58%, 48%) |
| HSV | hsv(68, 74%, 76%) |
| CMYK | cmyk(9.8%, 0%, 73.7%, 23.9%) |
| CIE-LAB | lab(74.79, -24.37, 65.09) |
| CIE-LCH | lch(74.79, 69.50, 110.53°) |
| OKLab | oklab(77.43% -0.0734 0.1439) |
| OKLCH | oklch(77.43% 0.162 117) |
| XYZ | xyz(37.5694, 47.9370, 10.4049) |
| Luminance | 0.4794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.06
Snot
#ACBB0D
ΔE00 2.79
Gross Green
#A0BF16
ΔE00 2.81
Bile
#B5C306
ΔE00 3.03
Baby Puke Green
#B6C406
ΔE00 3.13
Sick Green
#9DB92C
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC233 #4633C2
analogous
#C28D33 #AFC233 #67C233
triadic
#AFC233 #33AFC2 #C233AF
tetradic
#AFC233 #33C28D #4633C2 #C23367
square
#AFC233 #33C28D #4633C2 #C23367
split-complementary
#AFC233 #3367C2 #8D33C2
monochromatic
#58611A #839226 #AFC233 #C5D55E #D6E18E
Accessibility & contrast
On white
1.98
#AFC233 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.59
#AFC233 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC233
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC233 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC233 | 1.00 | 1.98 | 10.59 | 10.59 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB814
Deuteranopia (green-blind)
#CEB93F
Tritanopia (blue-blind)
#BAB7A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc233; /* rgb */ color: rgb(175, 194, 51); /* oklch */ color: oklch(77.4% 0.162 117.0);
Tailwind
colors: {
custom: {
50: '#cad475',
500: '#afc233',
950: '#000000',
},
}SCSS
$custom: #afc233; $custom-light: #cad475; $custom-dark: #000000;
JSON
{
"hex": "#afc233",
"rgb": {
"r": 175,
"g": 194,
"b": 51
},
"hsl": {
"h": 67.972,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.77429,
"c": 0.16151,
"h": 117
},
"luminance": 0.47937
}Semantic roles & 50–950 ramp
primary
#AFC233
secondary
#8E85CC
accent
#46E25B
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B