#AF9D37#AF9D37

#AF9D37 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.3% C 0.122 H 99.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#AF9D37
RGBrgb(175, 157, 55)
HSLhsl(51, 52%, 45%)
HSVhsv(51, 69%, 69%)
CMYKcmyk(0%, 10.3%, 68.6%, 31.4%)
CIE-LABlab(64.57, -5.24, 53.51)
CIE-LCHlch(64.57, 53.76, 95.59°)
OKLaboklab(69.28% -0.0193 0.1201)
OKLCHoklch(69.28% 0.122 99.1)
XYZxyz(30.4271, 33.5052, 8.4781)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D37 #3749AF
analogous
#AF6137 #AF9D37 #85AF37
triadic
#AF9D37 #37AF9D #9D37AF
tetradic
#AF9D37 #37AF61 #3749AF #AF3785
square
#AF9D37 #37AF61 #3749AF #AF3785
split-complementary
#AF9D37 #3785AF #6137AF
monochromatic
#52491A #807328 #AF9D37 #CBBA59 #D9CD87

Accessibility & contrast

On white

2.73
#AF9D37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#AF9D37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D37
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D37#FFFFFF#000000##000000
##AF9D371.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9929
Deuteranopia (green-blind)
#B19F3D
Tritanopia (blue-blind)
#BC9288
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9d37;
/* rgb */ color: rgb(175, 157, 55);
/* oklch */ color: oklch(69.3% 0.122 99.1);
Tailwind
colors: {
  custom: {
    50: '#cab974',
    500: '#af9d37',
    950: '#000000',
  },
}
SCSS
$custom: #af9d37;
$custom-light: #cab974;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d37",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 55
  },
  "hsl": {
    "h": 51,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69278,
    "c": 0.12167,
    "h": 99.1
  },
  "luminance": 0.33504
}

Semantic roles & 50–950 ramp

primary
#AF9D37
secondary
#7F89C3
accent
#62DC4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9D37

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

Preview Lab → · Contrast checker → · Palette generator →

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