#AF902A#AF902A

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

Color values

HEX#AF902A
RGBrgb(175, 144, 42)
HSLhsl(46, 61%, 43%)
HSVhsv(46, 76%, 69%)
CMYKcmyk(0%, 17.7%, 76%, 31.4%)
CIE-LABlab(60.98, 1.15, 55.16)
CIE-LCHlch(60.98, 55.17, 88.80°)
OKLaboklab(66.41% -0.0025 0.1212)
OKLCHoklch(66.41% 0.121 91.2)
XYZxyz(28.0720, 29.2294, 6.3533)
Luminance0.2923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF902A #2A49AF
analogous
#AF4E2A #AF902A #8BAF2A
triadic
#AF902A #2AAF90 #902AAF
tetradic
#AF902A #2AAF4E #2A49AF #AF2A8B
square
#AF902A #2AAF4E #2A49AF #AF2A8B
split-complementary
#AF902A #2A8BAF #4E2AAF
monochromatic
#4C3F12 #7E671E #AF902A #D2B144 #DEC675

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF902A#FFFFFF#000000##000000
##AF902A1.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)
#A18E18
Deuteranopia (green-blind)
#A89730
Tritanopia (blue-blind)
#BE847C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af902a;
/* rgb */ color: rgb(175, 144, 42);
/* oklch */ color: oklch(66.4% 0.121 91.2);
Tailwind
colors: {
  custom: {
    50: '#cbb06b',
    500: '#af902a',
    950: '#000000',
  },
}
SCSS
$custom: #af902a;
$custom-light: #cbb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#af902a",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 46.015,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66414,
    "c": 0.12119,
    "h": 91.2
  },
  "luminance": 0.29228
}

Semantic roles & 50–950 ramp

primary
#AF902A
secondary
#6F83C6
accent
#69E443
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF902A

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

Preview Lab → · Contrast checker → · Palette generator →

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