#AF902C#AF902C

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

Color values

HEX#AF902C
RGBrgb(175, 144, 44)
HSLhsl(46, 60%, 43%)
HSVhsv(46, 75%, 69%)
CMYKcmyk(0%, 17.7%, 74.9%, 31.4%)
CIE-LABlab(61.00, 1.24, 54.40)
CIE-LCHlch(61.00, 54.42, 88.69°)
OKLaboklab(66.43% -0.0021 0.12)
OKLCHoklch(66.43% 0.12 91)
XYZxyz(28.1087, 29.2441, 6.5465)
Luminance0.2924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF902C #2C4BAF
analogous
#AF4F2C #AF902C #8CAF2C
triadic
#AF902C #2CAF90 #902CAF
tetradic
#AF902C #2CAF4F #2C4BAF #AF2C8C
square
#AF902C #2CAF4F #2C4BAF #AF2C8C
split-complementary
#AF902C #2C8CAF #4F2CAF
monochromatic
#4D4013 #7E6820 #AF902C #D1B047 #DDC578

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF902C#FFFFFF#000000##000000
##AF902C1.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)
#A08E1C
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#BE847C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af902c;
/* rgb */ color: rgb(175, 144, 44);
/* oklch */ color: oklch(66.4% 0.120 91.0);
Tailwind
colors: {
  custom: {
    50: '#cbb06c',
    500: '#af902c',
    950: '#000000',
  },
}
SCSS
$custom: #af902c;
$custom-light: #cbb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#af902c",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 45.802,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66428,
    "c": 0.11998,
    "h": 91
  },
  "luminance": 0.29242
}

Semantic roles & 50–950 ramp

primary
#AF902C
secondary
#7285C5
accent
#6AE345
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF902C

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

Preview Lab → · Contrast checker → · Palette generator →

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