#AF9730#AF9730
#AF9730 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.9% C 0.122 H 95.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9730 |
|---|---|
| RGB | rgb(175, 151, 48) |
| HSL | hsl(49, 57%, 44%) |
| HSV | hsv(49, 73%, 69%) |
| CMYK | cmyk(0%, 13.7%, 72.6%, 31.4%) |
| CIE-LAB | lab(62.90, -2.38, 54.68) |
| CIE-LCH | lch(62.90, 54.73, 92.49°) |
| OKLab | oklab(67.94% -0.0119 0.1213) |
| OKLCH | oklch(67.94% 0.122 95.6) |
| XYZ | xyz(29.2808, 31.4621, 7.3262) |
| Luminance | 0.3146 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.09
Baby Shit Brown
#AD900D
ΔE00 3.22
Baby Poo
#AB9004
ΔE00 3.38
Dark Gold
#B59410
ΔE00 3.40
Yellow Brown
#B79400
ΔE00 4.16
Ocher
#BF9B0C
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9730 #3048AF
analogous
#AF5730 #AF9730 #87AF30
triadic
#AF9730 #30AF97 #9730AF
tetradic
#AF9730 #30AF57 #3048AF #AF3087
square
#AF9730 #30AF57 #3048AF #AF3087
split-complementary
#AF9730 #3087AF #5730AF
monochromatic
#4F4416 #7F6E23 #AF9730 #CEB64E #DCCA7E
Accessibility & contrast
On white
2.88
#AF9730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#AF9730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9730
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9730 | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79420
Deuteranopia (green-blind)
#AD9B36
Tritanopia (blue-blind)
#BD8B82
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #af9730; /* rgb */ color: rgb(175, 151, 48); /* oklch */ color: oklch(67.9% 0.122 95.6);
Tailwind
colors: {
custom: {
50: '#cbb56f',
500: '#af9730',
950: '#000000',
},
}SCSS
$custom: #af9730; $custom-light: #cbb56f; $custom-dark: #000000;
JSON
{
"hex": "#af9730",
"rgb": {
"r": 175,
"g": 151,
"b": 48
},
"hsl": {
"h": 48.661,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.67938,
"c": 0.12193,
"h": 95.6
},
"luminance": 0.31461
}Semantic roles & 50–950 ramp
primary
#AF9730
secondary
#7685C4
accent
#64E048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B