#AF912D#AF912D

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

Color values

HEX#AF912D
RGBrgb(175, 145, 45)
HSLhsl(46, 59%, 43%)
HSVhsv(46, 74%, 69%)
CMYKcmyk(0%, 17.1%, 74.3%, 31.4%)
CIE-LABlab(61.27, 0.74, 54.27)
CIE-LCHlch(61.27, 54.28, 89.22°)
OKLaboklab(66.65% -0.0034 0.1199)
OKLCHoklch(66.65% 0.12 91.6)
XYZxyz(28.2798, 29.5559, 6.6974)
Luminance0.2955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF912D #2D4BAF
analogous
#AF502D #AF912D #8CAF2D
triadic
#AF912D #2DAF91 #912DAF
tetradic
#AF912D #2DAF50 #2D4BAF #AF2D8C
square
#AF912D #2DAF50 #2D4BAF #AF2D8C
split-complementary
#AF912D #2D8CAF #502DAF
monochromatic
#4E4014 #7E6920 #AF912D #D0B149 #DDC67A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF912D#FFFFFF#000000##000000
##AF912D1.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)
#A18F1D
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#BD857D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af912d;
/* rgb */ color: rgb(175, 145, 45);
/* oklch */ color: oklch(66.6% 0.120 91.6);
Tailwind
colors: {
  custom: {
    50: '#cbb06d',
    500: '#af912d',
    950: '#000000',
  },
}
SCSS
$custom: #af912d;
$custom-light: #cbb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#af912d",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 45
  },
  "hsl": {
    "h": 46.154,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66646,
    "c": 0.11994,
    "h": 91.6
  },
  "luminance": 0.29554
}

Semantic roles & 50–950 ramp

primary
#AF912D
secondary
#7386C5
accent
#6AE246
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF912D

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

Preview Lab → · Contrast checker → · Palette generator →

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