#AFC631#AFC631
#AFC631 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.3% C 0.167 H 118.3°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC631 |
|---|---|
| RGB | rgb(175, 198, 49) |
| HSL | hsl(69, 60%, 48%) |
| HSV | hsv(69, 75%, 78%) |
| CMYK | cmyk(11.6%, 0%, 75.3%, 22.4%) |
| CIE-LAB | lab(75.90, -26.40, 66.80) |
| CIE-LCH | lch(75.90, 71.82, 111.56°) |
| OKLab | oklab(78.32% -0.0791 0.1471) |
| OKLCH | oklch(78.32% 0.167 118.3) |
| XYZ | xyz(38.4285, 49.7242, 10.4784) |
| Luminance | 0.4972 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.22
Gross Green
#A0BF16
ΔE00 2.77
Green Yellow
#B5CE08
ΔE00 3.12
Bile
#B5C306
ΔE00 3.23
Snot Green
#9DC100
ΔE00 3.23
Baby Puke Green
#B6C406
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC631 #4831C6
analogous
#C69231 #AFC631 #64C631
triadic
#AFC631 #31AFC6 #C631AF
tetradic
#AFC631 #31C692 #4831C6 #C63164
square
#AFC631 #31C692 #4831C6 #C63164
split-complementary
#AFC631 #3164C6 #9231C6
monochromatic
#586419 #849525 #AFC631 #C4D75D #D6E38E
Accessibility & contrast
On white
1.92
#AFC631 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.94
#AFC631 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC631
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC631 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC631 | 1.00 | 1.92 | 10.94 | 10.94 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BB0B
Deuteranopia (green-blind)
#D1BC3F
Tritanopia (blue-blind)
#BABBAA
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #afc631; /* rgb */ color: rgb(175, 198, 49); /* oklch */ color: oklch(78.3% 0.167 118.3);
Tailwind
colors: {
custom: {
50: '#cbd775',
500: '#afc631',
950: '#000000',
},
}SCSS
$custom: #afc631; $custom-light: #cbd775; $custom-dark: #000000;
JSON
{
"hex": "#afc631",
"rgb": {
"r": 175,
"g": 198,
"b": 49
},
"hsl": {
"h": 69.262,
"s": 60.324,
"l": 48.431
},
"oklch": {
"l": 0.78322,
"c": 0.16707,
"h": 118.3
},
"luminance": 0.49724
}Semantic roles & 50–950 ramp
primary
#AFC631
secondary
#9085CE
accent
#44E35D
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B