#AFC234#AFC234
#AFC234 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.4% C 0.161 H 117.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC234 |
|---|---|
| RGB | rgb(175, 194, 52) |
| HSL | hsl(68, 58%, 48%) |
| HSV | hsv(68, 73%, 76%) |
| CMYK | cmyk(9.8%, 0%, 73.2%, 23.9%) |
| CIE-LAB | lab(74.79, -24.32, 64.76) |
| CIE-LCH | lch(74.79, 69.17, 110.59°) |
| OKLab | oklab(77.44% -0.0732 0.1433) |
| OKLCH | oklch(77.44% 0.161 117) |
| XYZ | xyz(37.5917, 47.9459, 10.5223) |
| Luminance | 0.4794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.08
Gross Green
#A0BF16
ΔE00 2.83
Snot
#ACBB0D
ΔE00 2.86
Bile
#B5C306
ΔE00 3.11
Baby Puke Green
#B6C406
ΔE00 3.21
Sick Green
#9DB92C
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC234 #4734C2
analogous
#C28E34 #AFC234 #68C234
triadic
#AFC234 #34AFC2 #C234AF
tetradic
#AFC234 #34C28E #4734C2 #C23468
square
#AFC234 #34C28E #4734C2 #C23468
split-complementary
#AFC234 #3468C2 #8E34C2
monochromatic
#58611A #839227 #AFC234 #C4D45F #D6E18F
Accessibility & contrast
On white
1.98
#AFC234 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.59
#AFC234 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC234
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC234 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC234 | 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)
#CFB817
Deuteranopia (green-blind)
#CEB940
Tritanopia (blue-blind)
#BAB7A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afc234; /* rgb */ color: rgb(175, 194, 52); /* oklch */ color: oklch(77.4% 0.161 117.0);
Tailwind
colors: {
custom: {
50: '#cad476',
500: '#afc234',
950: '#000000',
},
}SCSS
$custom: #afc234; $custom-light: #cad476; $custom-dark: #000000;
JSON
{
"hex": "#afc234",
"rgb": {
"r": 175,
"g": 194,
"b": 52
},
"hsl": {
"h": 68.028,
"s": 57.724,
"l": 48.235
},
"oklch": {
"l": 0.77435,
"c": 0.16093,
"h": 117
},
"luminance": 0.47945
}Semantic roles & 50–950 ramp
primary
#AFC234
secondary
#8F86CC
accent
#47E15B
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B