#AF912F#AF912F

#AF912F is a light, moderate yellow. Relative luminance 0.296; OKLCH L 66.7% C 0.119 H 91.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#AF912F
RGBrgb(175, 145, 47)
HSLhsl(46, 58%, 44%)
HSVhsv(46, 73%, 69%)
CMYKcmyk(0%, 17.1%, 73.1%, 31.4%)
CIE-LABlab(61.28, 0.84, 53.49)
CIE-LCHlch(61.28, 53.50, 89.10°)
OKLaboklab(66.66% -0.0029 0.1186)
OKLCHoklch(66.66% 0.119 91.4)
XYZxyz(28.3192, 29.5717, 6.9051)
Luminance0.2957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF912F #2F4DAF
analogous
#AF512F #AF912F #8DAF2F
triadic
#AF912F #2FAF91 #912FAF
tetradic
#AF912F #2FAF51 #2F4DAF #AF2F8D
square
#AF912F #2FAF51 #2F4DAF #AF2F8D
split-complementary
#AF912F #2F8DAF #512FAF
monochromatic
#4F4115 #7F6922 #AF912F #CFB04C #DCC67C

Accessibility & contrast

On white

3.04
#AF912F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#AF912F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF912F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF912F#FFFFFF#000000##000000
##AF912F1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F20
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#BD857D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af912f;
/* rgb */ color: rgb(175, 145, 47);
/* oklch */ color: oklch(66.7% 0.119 91.4);
Tailwind
colors: {
  custom: {
    50: '#cbb06e',
    500: '#af912f',
    950: '#000000',
  },
}
SCSS
$custom: #af912f;
$custom-light: #cbb06e;
$custom-dark: #000000;
JSON
{
  "hex": "#af912f",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 47
  },
  "hsl": {
    "h": 45.938,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66661,
    "c": 0.11866,
    "h": 91.4
  },
  "luminance": 0.2957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF912F

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

Preview Lab → · Contrast checker → · Palette generator →

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