#AF901F#AF901F

#AF901F is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.3% C 0.127 H 92.2°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AF901F
RGBrgb(175, 144, 31)
HSLhsl(47, 70%, 40%)
HSVhsv(47, 82%, 69%)
CMYKcmyk(0%, 17.7%, 82.3%, 31.4%)
CIE-LABlab(60.92, 0.73, 58.90)
CIE-LCHlch(60.92, 58.90, 89.29°)
OKLaboklab(66.35% -0.0048 0.1269)
OKLCHoklch(66.35% 0.127 92.2)
XYZxyz(27.9014, 29.1612, 5.4551)
Luminance0.2916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF901F #1F3EAF
analogous
#AF481F #AF901F #86AF1F
triadic
#AF901F #1FAF90 #901FAF
tetradic
#AF901F #1FAF48 #1F3EAF #AF1F86
square
#AF901F #1FAF48 #1F3EAF #AF1F86
split-complementary
#AF901F #1F86AF #481FAF
monochromatic
#473A0D #7B6516 #AF901F #DAB631 #E4C865

Accessibility & contrast

On white

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

On black

6.83
#AF901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF901F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF901F#FFFFFF#000000##000000
##AF901F1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A99727
Tritanopia (blue-blind)
#BE837B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af901f;
/* rgb */ color: rgb(175, 144, 31);
/* oklch */ color: oklch(66.3% 0.127 92.2);
Tailwind
colors: {
  custom: {
    50: '#cbb066',
    500: '#af901f',
    950: '#000000',
  },
}
SCSS
$custom: #af901f;
$custom-light: #cbb066;
$custom-dark: #000000;
JSON
{
  "hex": "#af901f",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 47.083,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66348,
    "c": 0.12695,
    "h": 92.2
  },
  "luminance": 0.29159
}

Semantic roles & 50–950 ramp

primary
#AF901F
secondary
#6177C9
accent
#61ED3B
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #AF901F

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

Preview Lab → · Contrast checker → · Palette generator →

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