#AF9138#AF9138
#AF9138 is a light, moderate orange. Relative luminance 0.296; OKLCH L 66.7% C 0.112 H 90.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9138 |
|---|---|
| RGB | rgb(175, 145, 56) |
| HSL | hsl(45, 52%, 45%) |
| HSV | hsv(45, 68%, 69%) |
| CMYK | cmyk(0%, 17.1%, 68%, 31.4%) |
| CIE-LAB | lab(61.35, 1.32, 49.73) |
| CIE-LCH | lch(61.35, 49.75, 88.48°) |
| OKLab | oklab(66.74% -0.0004 0.1123) |
| OKLCH | oklch(66.74% 0.112 90.2) |
| XYZ | xyz(28.5199, 29.6520, 7.9618) |
| Luminance | 0.2965 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 3.98
Baby Shit Brown
#AD900D
ΔE00 4.01
Dark Gold
#B59410
ΔE00 4.21
Dark Mustard
#A88905
ΔE00 4.50
Baby Poo
#AB9004
ΔE00 4.54
Yellow Brown
#B79400
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9138 #3856AF
analogous
#AF5538 #AF9138 #91AF38
triadic
#AF9138 #38AF91 #9138AF
tetradic
#AF9138 #38AF55 #3856AF #AF3891
square
#AF9138 #38AF55 #3856AF #AF3891
split-complementary
#AF9138 #3891AF #5538AF
monochromatic
#52441A #816B29 #AF9138 #CAAE5A #D9C588
Accessibility & contrast
On white
3.03
#AF9138 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.93
#AF9138 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF9138
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9138 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9138 | 1.00 | 3.03 | 6.93 | 6.93 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18F2D
Deuteranopia (green-blind)
#A8983C
Tritanopia (blue-blind)
#BD857E
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #af9138; /* rgb */ color: rgb(175, 145, 56); /* oklch */ color: oklch(66.7% 0.112 90.2);
Tailwind
colors: {
custom: {
50: '#cab073',
500: '#af9138',
950: '#000000',
},
}SCSS
$custom: #af9138; $custom-light: #cab073; $custom-dark: #000000;
JSON
{
"hex": "#af9138",
"rgb": {
"r": 175,
"g": 145,
"b": 56
},
"hsl": {
"h": 44.874,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.66738,
"c": 0.11231,
"h": 90.2
},
"luminance": 0.2965
}Semantic roles & 50–950 ramp
primary
#AF9138
secondary
#8091C3
accent
#71DB4D
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141008
muted
#827F7B