#AF912E#AF912E

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

Color values

HEX#AF912E
RGBrgb(175, 145, 46)
HSLhsl(46, 58%, 43%)
HSVhsv(46, 74%, 69%)
CMYKcmyk(0%, 17.1%, 73.7%, 31.4%)
CIE-LABlab(61.28, 0.79, 53.88)
CIE-LCHlch(61.28, 53.89, 89.16°)
OKLaboklab(66.65% -0.0031 0.1193)
OKLCHoklch(66.65% 0.119 91.5)
XYZxyz(28.2993, 29.5637, 6.8000)
Luminance0.2956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF912E #2E4CAF
analogous
#AF512E #AF912E #8CAF2E
triadic
#AF912E #2EAF91 #912EAF
tetradic
#AF912E #2EAF51 #2E4CAF #AF2E8C
square
#AF912E #2EAF51 #2E4CAF #AF2E8C
split-complementary
#AF912E #2E8CAF #512EAF
monochromatic
#4E4115 #7F6921 #AF912E #D0B14B #DCC67B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #af912e;
/* rgb */ color: rgb(175, 145, 46);
/* oklch */ color: oklch(66.7% 0.119 91.5);
Tailwind
colors: {
  custom: {
    50: '#cbb06d',
    500: '#af912e',
    950: '#000000',
  },
}
SCSS
$custom: #af912e;
$custom-light: #cbb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#af912e",
  "rgb": {
    "r": 175,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 46.047,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66653,
    "c": 0.11931,
    "h": 91.5
  },
  "luminance": 0.29562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF912E

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

Preview Lab → · Contrast checker → · Palette generator →

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