#AF9E35#AF9E35

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

Color values

HEX#AF9E35
RGBrgb(175, 158, 53)
HSLhsl(52, 54%, 45%)
HSVhsv(52, 70%, 69%)
CMYKcmyk(0%, 9.7%, 69.7%, 31.4%)
CIE-LABlab(64.82, -5.88, 54.59)
CIE-LCHlch(64.82, 54.91, 96.15°)
OKLaboklab(69.48% -0.0214 0.1221)
OKLCHoklch(69.48% 0.124 99.9)
XYZxyz(30.5500, 33.8261, 8.2874)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E35 #3546AF
analogous
#AF6135 #AF9E35 #83AF35
triadic
#AF9E35 #35AF9E #9E35AF
tetradic
#AF9E35 #35AF61 #3546AF #AF3583
square
#AF9E35 #35AF61 #3546AF #AF3583
split-complementary
#AF9E35 #3583AF #6135AF
monochromatic
#514919 #807427 #AF9E35 #CCBB56 #DACE85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9E35#FFFFFF#000000##000000
##AF9E351.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)
#AD9A26
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#BC9389
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9e35;
/* rgb */ color: rgb(175, 158, 53);
/* oklch */ color: oklch(69.5% 0.124 99.9);
Tailwind
colors: {
  custom: {
    50: '#caba72',
    500: '#af9e35',
    950: '#000000',
  },
}
SCSS
$custom: #af9e35;
$custom-light: #caba72;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e35",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 53
  },
  "hsl": {
    "h": 51.639,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69477,
    "c": 0.12393,
    "h": 99.9
  },
  "luminance": 0.33825
}

Semantic roles & 50–950 ramp

primary
#AF9E35
secondary
#7C86C4
accent
#5FDD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9E35

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

Preview Lab → · Contrast checker → · Palette generator →

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