#AF8D22#AF8D22

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

Color values

HEX#AF8D22
RGBrgb(175, 141, 34)
HSLhsl(46, 67%, 41%)
HSVhsv(46, 81%, 69%)
CMYKcmyk(0%, 19.4%, 80.6%, 31.4%)
CIE-LABlab(60.14, 2.48, 57.24)
CIE-LCHlch(60.14, 57.29, 87.52°)
OKLaboklab(65.74% 0.0004 0.1239)
OKLCHoklch(65.74% 0.124 89.8)
XYZxyz(27.4945, 28.2810, 5.5237)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8D22 #2244AF
analogous
#AF4622 #AF8D22 #8AAF22
triadic
#AF8D22 #22AF8D #8D22AF
tetradic
#AF8D22 #22AF46 #2244AF #AF228A
square
#AF8D22 #22AF46 #2244AF #AF228A
split-complementary
#AF8D22 #228AAF #4622AF
monochromatic
#493A0E #7C6418 #AF8D22 #D8B136 #E2C569

Accessibility & contrast

On white

3.16
#AF8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF8D22#FFFFFF#000000##000000
##AF8D221.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af8d22;
/* rgb */ color: rgb(175, 141, 34);
/* oklch */ color: oklch(65.7% 0.124 89.8);
Tailwind
colors: {
  custom: {
    50: '#cbae67',
    500: '#af8d22',
    950: '#000000',
  },
}
SCSS
$custom: #af8d22;
$custom-light: #cbae67;
$custom-dark: #000000;
JSON
{
  "hex": "#af8d22",
  "rgb": {
    "r": 175,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 45.532,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65736,
    "c": 0.12392,
    "h": 89.8
  },
  "luminance": 0.28279
}

Semantic roles & 50–950 ramp

primary
#AF8D22
secondary
#657DC8
accent
#67EA3D
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #AF8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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