#A5B059#A5B059

#A5B059 is a light, moderate yellow. Relative luminance 0.398; OKLCH L 73.0% C 0.113 H 115.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#A5B059
RGBrgb(165, 176, 89)
HSLhsl(68, 36%, 52%)
HSVhsv(68, 49%, 69%)
CMYKcmyk(6.2%, 0%, 49.4%, 31%)
CIE-LABlab(69.31, -16.83, 42.89)
CIE-LCHlch(69.31, 46.07, 111.42°)
OKLaboklab(72.96% -0.0479 0.1019)
OKLCHoklch(72.96% 0.113 115.2)
XYZxyz(32.8460, 39.7717, 15.3956)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B059 #6459B0
analogous
#B09059 #A5B059 #7AB059
triadic
#A5B059 #59A5B0 #B059A5
tetradic
#A5B059 #59B090 #6459B0 #B0597A
square
#A5B059 #59B090 #6459B0 #B0597A
split-complementary
#A5B059 #597AB0 #9059B0
monochromatic
#5A612E #818A42 #A5B059 #BBC482 #D2D7AC

Accessibility & contrast

On white

2.35
#A5B059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#A5B059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B059
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B059#FFFFFF#000000##000000
##A5B0591.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA951
Deuteranopia (green-blind)
#BAAA5E
Tritanopia (blue-blind)
#AEA89C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b059;
/* rgb */ color: rgb(165, 176, 89);
/* oklch */ color: oklch(73.0% 0.113 115.2);
Tailwind
colors: {
  custom: {
    50: '#c1c78a',
    500: '#a5b059',
    950: '#000000',
  },
}
SCSS
$custom: #a5b059;
$custom-light: #c1c78a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b059",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 89
  },
  "hsl": {
    "h": 67.586,
    "s": 35.51,
    "l": 51.961
  },
  "oklch": {
    "l": 0.72955,
    "c": 0.11257,
    "h": 115.2
  },
  "luminance": 0.39771
}

Semantic roles & 50–950 ramp

primary
#A5B059
secondary
#A49FC5
accent
#5CCC6A
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #A5B059

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

Preview Lab → · Contrast checker → · Palette generator →

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