#AF9E37#AF9E37

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

Color values

HEX#AF9E37
RGBrgb(175, 158, 55)
HSLhsl(52, 52%, 45%)
HSVhsv(52, 69%, 69%)
CMYKcmyk(0%, 9.7%, 68.6%, 31.4%)
CIE-LABlab(64.84, -5.77, 53.78)
CIE-LCHlch(64.84, 54.09, 96.12°)
OKLaboklab(69.49% -0.0208 0.1207)
OKLCHoklch(69.49% 0.123 99.8)
XYZxyz(30.5970, 33.8449, 8.5347)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E37 #3748AF
analogous
#AF6237 #AF9E37 #84AF37
triadic
#AF9E37 #37AF9E #9E37AF
tetradic
#AF9E37 #37AF62 #3748AF #AF3784
square
#AF9E37 #37AF62 #3748AF #AF3784
split-complementary
#AF9E37 #3784AF #6237AF
monochromatic
#524A1A #807428 #AF9E37 #CBBB59 #D9CE87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9E37#FFFFFF#000000##000000
##AF9E371.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)
#AD9A29
Deuteranopia (green-blind)
#B2A03D
Tritanopia (blue-blind)
#BC9389
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9e37;
/* rgb */ color: rgb(175, 158, 55);
/* oklch */ color: oklch(69.5% 0.122 99.8);
Tailwind
colors: {
  custom: {
    50: '#caba74',
    500: '#af9e37',
    950: '#000000',
  },
}
SCSS
$custom: #af9e37;
$custom-light: #caba74;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e37",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 55
  },
  "hsl": {
    "h": 51.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69493,
    "c": 0.1225,
    "h": 99.8
  },
  "luminance": 0.33844
}

Semantic roles & 50–950 ramp

primary
#AF9E37
secondary
#7F88C3
accent
#61DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9E37

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

Preview Lab → · Contrast checker → · Palette generator →

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