#AF8E24#AF8E24

#AF8E24 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 66.0% C 0.123 H 90.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#AF8E24
RGBrgb(175, 142, 36)
HSLhsl(46, 66%, 41%)
HSVhsv(46, 79%, 69%)
CMYKcmyk(0%, 18.9%, 79.4%, 31.4%)
CIE-LABlab(60.42, 2.00, 56.81)
CIE-LCHlch(60.42, 56.84, 87.98°)
OKLaboklab(65.96% -0.0007 0.1234)
OKLCHoklch(65.96% 0.123 90.3)
XYZxyz(27.6723, 28.5891, 5.7295)
Luminance0.2859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8E24 #2445AF
analogous
#AF4824 #AF8E24 #8BAF24
triadic
#AF8E24 #24AF8E #8E24AF
tetradic
#AF8E24 #24AF48 #2445AF #AF248B
square
#AF8E24 #24AF48 #2445AF #AF248B
split-complementary
#AF8E24 #248BAF #4824AF
monochromatic
#493C0F #7C651A #AF8E24 #D6B13A #E1C56D

Accessibility & contrast

On white

3.13
#AF8E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#AF8E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8E24
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8E24#FFFFFF#000000##000000
##AF8E241.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C0D
Deuteranopia (green-blind)
#A7962A
Tritanopia (blue-blind)
#BE817A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af8e24;
/* rgb */ color: rgb(175, 142, 36);
/* oklch */ color: oklch(66.0% 0.123 90.3);
Tailwind
colors: {
  custom: {
    50: '#cbae68',
    500: '#af8e24',
    950: '#000000',
  },
}
SCSS
$custom: #af8e24;
$custom-light: #cbae68;
$custom-dark: #000000;
JSON
{
  "hex": "#af8e24",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 45.755,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65956,
    "c": 0.12342,
    "h": 90.3
  },
  "luminance": 0.28587
}

Semantic roles & 50–950 ramp

primary
#AF8E24
secondary
#687EC7
accent
#67E93F
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF8E24

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

Preview Lab → · Contrast checker → · Palette generator →

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