#AF902F#AF902F

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

Color values

HEX#AF902F
RGBrgb(175, 144, 47)
HSLhsl(45, 58%, 44%)
HSVhsv(45, 73%, 69%)
CMYKcmyk(0%, 17.7%, 73.1%, 31.4%)
CIE-LABlab(61.02, 1.38, 53.23)
CIE-LCHlch(61.02, 53.24, 88.51°)
OKLaboklab(66.45% -0.0013 0.1181)
OKLCHoklch(66.45% 0.118 90.6)
XYZxyz(28.1671, 29.2674, 6.8544)
Luminance0.2927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF902F #2F4EAF
analogous
#AF502F #AF902F #8EAF2F
triadic
#AF902F #2FAF90 #902FAF
tetradic
#AF902F #2FAF50 #2F4EAF #AF2F8E
square
#AF902F #2FAF50 #2F4EAF #AF2F8E
split-complementary
#AF902F #2F8EAF #502FAF
monochromatic
#4F4115 #7F6822 #AF902F #CFAF4C #DCC57C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF902F#FFFFFF#000000##000000
##AF902F1.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)
#A08E20
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#BD847D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af902f;
/* rgb */ color: rgb(175, 144, 47);
/* oklch */ color: oklch(66.5% 0.118 90.6);
Tailwind
colors: {
  custom: {
    50: '#cbb06e',
    500: '#af902f',
    950: '#000000',
  },
}
SCSS
$custom: #af902f;
$custom-light: #cbb06e;
$custom-dark: #000000;
JSON
{
  "hex": "#af902f",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 45.469,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66451,
    "c": 0.11808,
    "h": 90.6
  },
  "luminance": 0.29266
}

Semantic roles & 50–950 ramp

primary
#AF902F
secondary
#7588C4
accent
#6CE147
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF902F

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

Preview Lab → · Contrast checker → · Palette generator →

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