#AF902B#AF902B

#AF902B is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.4% C 0.121 H 91.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AF902B
RGBrgb(175, 144, 43)
HSLhsl(46, 61%, 43%)
HSVhsv(46, 75%, 69%)
CMYKcmyk(0%, 17.7%, 75.4%, 31.4%)
CIE-LABlab(60.99, 1.20, 54.78)
CIE-LCHlch(60.99, 54.80, 88.75°)
OKLaboklab(66.42% -0.0023 0.1206)
OKLCHoklch(66.42% 0.121 91.1)
XYZxyz(28.0901, 29.2366, 6.4487)
Luminance0.2923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF902B #2B4AAF
analogous
#AF4E2B #AF902B #8CAF2B
triadic
#AF902B #2BAF90 #902BAF
tetradic
#AF902B #2BAF4E #2B4AAF #AF2B8C
square
#AF902B #2BAF4E #2B4AAF #AF2B8C
split-complementary
#AF902B #2B8CAF #4E2BAF
monochromatic
#4D3F13 #7E681F #AF902B #D1B146 #DEC577

Accessibility & contrast

On white

3.07
#AF902B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF902B#FFFFFF#000000##000000
##AF902B1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af902b;
/* rgb */ color: rgb(175, 144, 43);
/* oklch */ color: oklch(66.4% 0.121 91.1);
Tailwind
colors: {
  custom: {
    50: '#cbb06c',
    500: '#af902b',
    950: '#000000',
  },
}
SCSS
$custom: #af902b;
$custom-light: #cbb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#af902b",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 45.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66421,
    "c": 0.12059,
    "h": 91.1
  },
  "luminance": 0.29235
}

Semantic roles & 50–950 ramp

primary
#AF902B
secondary
#7084C5
accent
#6AE444
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF902B

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

Preview Lab → · Contrast checker → · Palette generator →

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