#AF8E26#AF8E26

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

Color values

HEX#AF8E26
RGBrgb(175, 142, 38)
HSLhsl(46, 64%, 42%)
HSVhsv(46, 78%, 69%)
CMYKcmyk(0%, 18.9%, 78.3%, 31.4%)
CIE-LABlab(60.43, 2.08, 56.11)
CIE-LCHlch(60.43, 56.15, 87.88°)
OKLaboklab(65.97% -0.0003 0.1224)
OKLCHoklch(65.97% 0.122 90.1)
XYZxyz(27.7037, 28.6017, 5.8949)
Luminance0.2860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8E26 #2647AF
analogous
#AF4926 #AF8E26 #8CAF26
triadic
#AF8E26 #26AF8E #8E26AF
tetradic
#AF8E26 #26AF49 #2647AF #AF268C
square
#AF8E26 #26AF49 #2647AF #AF268C
split-complementary
#AF8E26 #268CAF #4926AF
monochromatic
#4A3C10 #7D651B #AF8E26 #D5B03D #E0C570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF8E26#FFFFFF#000000##000000
##AF8E261.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)
#9F8C11
Deuteranopia (green-blind)
#A7962C
Tritanopia (blue-blind)
#BE817A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af8e26;
/* rgb */ color: rgb(175, 142, 38);
/* oklch */ color: oklch(66.0% 0.122 90.1);
Tailwind
colors: {
  custom: {
    50: '#cbae69',
    500: '#af8e26',
    950: '#000000',
  },
}
SCSS
$custom: #af8e26;
$custom-light: #cbae69;
$custom-dark: #000000;
JSON
{
  "hex": "#af8e26",
  "rgb": {
    "r": 175,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 45.547,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65969,
    "c": 0.12236,
    "h": 90.1
  },
  "luminance": 0.286
}

Semantic roles & 50–950 ramp

primary
#AF8E26
secondary
#6A80C7
accent
#69E740
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF8E26

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

Preview Lab → · Contrast checker → · Palette generator →

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