#A5AF39#A5AF39

#A5AF39 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.140 H 114.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#A5AF39
RGBrgb(165, 175, 57)
HSLhsl(65, 51%, 45%)
HSVhsv(65, 67%, 69%)
CMYKcmyk(5.7%, 0%, 67.4%, 31.4%)
CIE-LABlab(68.72, -18.84, 56.67)
CIE-LCHlch(68.72, 59.71, 108.39°)
OKLaboklab(72.39% -0.0569 0.1274)
OKLCHoklch(72.39% 0.14 114.1)
XYZxyz(31.5864, 38.9553, 9.7253)
Luminance0.3896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AF39 #4339AF
analogous
#AF7E39 #A5AF39 #6AAF39
triadic
#A5AF39 #39A5AF #AF39A5
tetradic
#A5AF39 #39AF7E #4339AF #AF396A
square
#A5AF39 #39AF7E #4339AF #AF396A
split-complementary
#A5AF39 #396AAF #7E39AF
monochromatic
#4E531B #79812A #A5AF39 #C0CA5B #D2D98A

Accessibility & contrast

On white

2.39
#A5AF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#A5AF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AF39
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AF39#FFFFFF#000000##000000
##A5AF391.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA728
Deuteranopia (green-blind)
#BBA941
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5af39;
/* rgb */ color: rgb(165, 175, 57);
/* oklch */ color: oklch(72.4% 0.140 114.1);
Tailwind
colors: {
  custom: {
    50: '#c3c676',
    500: '#a5af39',
    950: '#000000',
  },
}
SCSS
$custom: #a5af39;
$custom-light: #c3c676;
$custom-dark: #000000;
JSON
{
  "hex": "#a5af39",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 65.085,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72386,
    "c": 0.13954,
    "h": 114.1
  },
  "luminance": 0.38955
}

Semantic roles & 50–950 ramp

primary
#A5AF39
secondary
#8681C3
accent
#4DDA59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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