#AF9E36#AF9E36

#AF9E36 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.5% C 0.123 H 99.9°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#AF9E36
RGBrgb(175, 158, 54)
HSLhsl(52, 53%, 45%)
HSVhsv(52, 69%, 69%)
CMYKcmyk(0%, 9.7%, 69.1%, 31.4%)
CIE-LABlab(64.83, -5.83, 54.19)
CIE-LCHlch(64.83, 54.50, 96.14°)
OKLaboklab(69.49% -0.0211 0.1214)
OKLCHoklch(69.49% 0.123 99.9)
XYZxyz(30.5733, 33.8354, 8.4098)
Luminance0.3383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E36 #3647AF
analogous
#AF6136 #AF9E36 #84AF36
triadic
#AF9E36 #36AF9E #9E36AF
tetradic
#AF9E36 #36AF61 #3647AF #AF3684
square
#AF9E36 #36AF61 #3647AF #AF3684
split-complementary
#AF9E36 #3684AF #6136AF
monochromatic
#514A19 #807428 #AF9E36 #CBBB57 #DACE86

Accessibility & contrast

On white

2.70
#AF9E36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#AF9E36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E36
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E36#FFFFFF#000000##000000
##AF9E361.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A27
Deuteranopia (green-blind)
#B2A03C
Tritanopia (blue-blind)
#BC9389
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9e36;
/* rgb */ color: rgb(175, 158, 54);
/* oklch */ color: oklch(69.5% 0.123 99.9);
Tailwind
colors: {
  custom: {
    50: '#caba73',
    500: '#af9e36',
    950: '#000000',
  },
}
SCSS
$custom: #af9e36;
$custom-light: #caba73;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e36",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 54
  },
  "hsl": {
    "h": 51.57,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69485,
    "c": 0.12322,
    "h": 99.9
  },
  "luminance": 0.33834
}

Semantic roles & 50–950 ramp

primary
#AF9E36
secondary
#7D87C3
accent
#60DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9E36

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

Preview Lab → · Contrast checker → · Palette generator →

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