#AF8338#AF8338
#AF8338 is a light, moderate orange. Relative luminance 0.256; OKLCH L 63.9% C 0.106 H 78.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8338 |
|---|---|
| RGB | rgb(175, 131, 56) |
| HSL | hsl(38, 52%, 45%) |
| HSV | hsv(38, 68%, 69%) |
| CMYK | cmyk(0%, 25.1%, 68%, 31.4%) |
| CIE-LAB | lab(57.69, 9.07, 45.83) |
| CIE-LCH | lch(57.69, 46.72, 78.81°) |
| OKLab | oklab(63.86% 0.0221 0.104) |
| OKLCH | oklch(63.86% 0.106 78) |
| XYZ | xyz(26.5109, 25.6340, 7.2922) |
| Luminance | 0.2563 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Tan
#AF884A
ΔE00 2.86
Coffee
#A6814C
ΔE00 4.43
Mustard Brown
#AC7E04
ΔE00 5.00
Golden Brown
#B27A01
ΔE00 5.19
Darkgoldenrod
#B8860B
ΔE00 5.22
Bronze (survey)
#A87900
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8338 #3864AF
analogous
#AF4738 #AF8338 #9FAF38
triadic
#AF8338 #38AF83 #8338AF
tetradic
#AF8338 #38AF47 #3864AF #AF389F
square
#AF8338 #38AF47 #3864AF #AF389F
split-complementary
#AF8338 #389FAF #4738AF
monochromatic
#523E1A #816029 #AF8338 #CAA15A #D9BB88
Accessibility & contrast
On white
3.43
#AF8338 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#AF8338 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF8338
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8338 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8338 | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948430
Deuteranopia (green-blind)
#9E8F3A
Tritanopia (blue-blind)
#BE7773
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #af8338; /* rgb */ color: rgb(175, 131, 56); /* oklch */ color: oklch(63.9% 0.106 78.0);
Tailwind
colors: {
custom: {
50: '#cba672',
500: '#af8338',
950: '#000000',
},
}SCSS
$custom: #af8338; $custom-light: #cba672; $custom-dark: #000000;
JSON
{
"hex": "#af8338",
"rgb": {
"r": 175,
"g": 131,
"b": 56
},
"hsl": {
"h": 37.815,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.63858,
"c": 0.10634,
"h": 78
},
"luminance": 0.25632
}Semantic roles & 50–950 ramp
primary
#AF8338
secondary
#8099C3
accent
#81DB4D
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F08
muted
#827F7B