#AF8D26#AF8D26

#AF8D26 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.8% C 0.122 H 89.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AF8D26
RGBrgb(175, 141, 38)
HSLhsl(45, 64%, 42%)
HSVhsv(45, 78%, 69%)
CMYKcmyk(0%, 19.4%, 78.3%, 31.4%)
CIE-LABlab(60.16, 2.63, 55.87)
CIE-LCHlch(60.16, 55.93, 87.30°)
OKLaboklab(65.76% 0.0013 0.1218)
OKLCHoklch(65.76% 0.122 89.4)
XYZxyz(27.5556, 28.3055, 5.8455)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8D26 #2648AF
analogous
#AF4826 #AF8D26 #8DAF26
triadic
#AF8D26 #26AF8D #8D26AF
tetradic
#AF8D26 #26AF48 #2648AF #AF268D
square
#AF8D26 #26AF48 #2648AF #AF268D
split-complementary
#AF8D26 #268DAF #4826AF
monochromatic
#4A3C10 #7D641B #AF8D26 #D5AF3D #E0C470

Accessibility & contrast

On white

3.15
#AF8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#AF8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8D26
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8D26#FFFFFF#000000##000000
##AF8D261.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C12
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#BE8079
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af8d26;
/* rgb */ color: rgb(175, 141, 38);
/* oklch */ color: oklch(65.8% 0.122 89.4);
Tailwind
colors: {
  custom: {
    50: '#cbae69',
    500: '#af8d26',
    950: '#000000',
  },
}
SCSS
$custom: #af8d26;
$custom-light: #cbae69;
$custom-dark: #000000;
JSON
{
  "hex": "#af8d26",
  "rgb": {
    "r": 175,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 45.109,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6576,
    "c": 0.12185,
    "h": 89.4
  },
  "luminance": 0.28304
}

Semantic roles & 50–950 ramp

primary
#AF8D26
secondary
#6A81C7
accent
#6AE740
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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