#AFB130#AFB130
#AFB130 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.6% C 0.145 H 110.4°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB130 |
|---|---|
| RGB | rgb(175, 177, 48) |
| HSL | hsl(61, 57%, 44%) |
| HSV | hsv(61, 73%, 69%) |
| CMYK | cmyk(1.1%, 0%, 72.9%, 30.6%) |
| CIE-LAB | lab(70.02, -16.05, 61.58) |
| CIE-LCH | lch(70.02, 63.63, 104.61°) |
| OKLab | oklab(73.6% -0.0505 0.1359) |
| OKLCH | oklch(73.6% 0.145 110.4) |
| XYZ | xyz(33.9360, 40.7726, 8.8780) |
| Luminance | 0.4077 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.25
Puke
#A5A502
ΔE00 3.93
Vomit
#A2A415
ΔE00 3.94
Snot
#ACBB0D
ΔE00 4.11
Puke Green
#9AAE07
ΔE00 4.57
Olive Yellow
#C2B709
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB130 #3230B1
analogous
#B17330 #AFB130 #6FB130
triadic
#AFB130 #30AFB1 #B130AF
tetradic
#AFB130 #30B173 #3230B1 #B1306F
square
#AFB130 #30B173 #3230B1 #B1306F
split-complementary
#AFB130 #306FB1 #7330B1
monochromatic
#505116 #7F8123 #AFB130 #CDCF4F #DBDC7F
Accessibility & contrast
On white
2.29
#AFB130 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#AFB130 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB130
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB130 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB130 | 1.00 | 2.29 | 9.15 | 9.15 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA916
Deuteranopia (green-blind)
#C0AD3A
Tritanopia (blue-blind)
#BBA698
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afb130; /* rgb */ color: rgb(175, 177, 48); /* oklch */ color: oklch(73.6% 0.145 110.4);
Tailwind
colors: {
custom: {
50: '#cac872',
500: '#afb130',
950: '#000000',
},
}SCSS
$custom: #afb130; $custom-light: #cac872; $custom-dark: #000000;
JSON
{
"hex": "#afb130",
"rgb": {
"r": 175,
"g": 177,
"b": 48
},
"hsl": {
"h": 60.93,
"s": 57.333,
"l": 44.118
},
"oklch": {
"l": 0.73601,
"c": 0.14502,
"h": 110.4
},
"luminance": 0.40772
}Semantic roles & 50–950 ramp
primary
#AFB130
secondary
#7978C5
accent
#47E14A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B