#AF902E#AF902E

#AF902E is a light, moderate yellow. Relative luminance 0.293; OKLCH L 66.4% C 0.119 H 90.8°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AF902E
RGBrgb(175, 144, 46)
HSLhsl(46, 58%, 43%)
HSVhsv(46, 74%, 69%)
CMYKcmyk(0%, 17.7%, 73.7%, 31.4%)
CIE-LABlab(61.01, 1.34, 53.62)
CIE-LCHlch(61.01, 53.64, 88.57°)
OKLaboklab(66.44% -0.0016 0.1187)
OKLCHoklch(66.44% 0.119 90.8)
XYZxyz(28.1472, 29.2595, 6.7493)
Luminance0.2926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF902E #2E4DAF
analogous
#AF4F2E #AF902E #8DAF2E
triadic
#AF902E #2EAF90 #902EAF
tetradic
#AF902E #2EAF4F #2E4DAF #AF2E8D
square
#AF902E #2EAF4F #2E4DAF #AF2E8D
split-complementary
#AF902E #2E8DAF #4F2EAF
monochromatic
#4E4015 #7F6821 #AF902E #D0B04B #DCC57B

Accessibility & contrast

On white

3.06
#AF902E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#AF902E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF902E
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF902E#FFFFFF#000000##000000
##AF902E1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1F
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#BE847C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af902e;
/* rgb */ color: rgb(175, 144, 46);
/* oklch */ color: oklch(66.4% 0.119 90.8);
Tailwind
colors: {
  custom: {
    50: '#cbb06d',
    500: '#af902e',
    950: '#000000',
  },
}
SCSS
$custom: #af902e;
$custom-light: #cbb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#af902e",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 46
  },
  "hsl": {
    "h": 45.581,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66443,
    "c": 0.11872,
    "h": 90.8
  },
  "luminance": 0.29258
}

Semantic roles & 50–950 ramp

primary
#AF902E
secondary
#7487C5
accent
#6CE246
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF902E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AF902E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva