#AFBA30#AFBA30
#AFBA30 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.6% C 0.154 H 114.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBA30 |
|---|---|
| RGB | rgb(175, 186, 48) |
| HSL | hsl(65, 59%, 46%) |
| HSV | hsv(65, 74%, 73%) |
| CMYK | cmyk(5.9%, 0%, 74.2%, 27.1%) |
| CIE-LAB | lab(72.53, -20.58, 63.96) |
| CIE-LCH | lch(72.53, 67.18, 107.83°) |
| OKLab | oklab(75.61% -0.0631 0.141) |
| OKLCH | oklch(75.61% 0.154 114.1) |
| XYZ | xyz(35.7727, 44.4459, 9.4902) |
| Luminance | 0.4445 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.02
Mustard Green
#A8B504
ΔE00 2.42
Pea
#A4BF20
ΔE00 3.35
Bile
#B5C306
ΔE00 3.46
Baby Puke Green
#B6C406
ΔE00 3.67
Sick Green
#9DB92C
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBA30 #3B30BA
analogous
#BA8030 #AFBA30 #6ABA30
triadic
#AFBA30 #30AFBA #BA30AF
tetradic
#AFBA30 #30BA80 #3B30BA #BA306A
square
#AFBA30 #30BA80 #3B30BA #BA306A
split-complementary
#AFBA30 #306ABA #8030BA
monochromatic
#535917 #818923 #AFBA30 #C9D354 #D8DF85
Accessibility & contrast
On white
2.12
#AFBA30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#AFBA30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBA30
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBA30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBA30 | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B111
Deuteranopia (green-blind)
#C7B33C
Tritanopia (blue-blind)
#BBAFA0
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afba30; /* rgb */ color: rgb(175, 186, 48); /* oklch */ color: oklch(75.6% 0.154 114.1);
Tailwind
colors: {
custom: {
50: '#cace73',
500: '#afba30',
950: '#000000',
},
}SCSS
$custom: #afba30; $custom-light: #cace73; $custom-dark: #000000;
JSON
{
"hex": "#afba30",
"rgb": {
"r": 175,
"g": 186,
"b": 48
},
"hsl": {
"h": 64.783,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.7561,
"c": 0.15445,
"h": 114.1
},
"luminance": 0.44445
}Semantic roles & 50–950 ramp
primary
#AFBA30
secondary
#837DC9
accent
#46E252
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B