#A5B337#A5B337

#A5B337 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.145 H 115.7°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#A5B337
RGBrgb(165, 179, 55)
HSLhsl(67, 53%, 46%)
HSVhsv(67, 69%, 70%)
CMYKcmyk(7.8%, 0%, 69.3%, 29.8%)
CIE-LABlab(69.84, -20.96, 58.57)
CIE-LCHlch(69.84, 62.21, 109.69°)
OKLaboklab(73.28% -0.063 0.1311)
OKLCHoklch(73.28% 0.145 115.7)
XYZxyz(32.3275, 40.5159, 9.7310)
Luminance0.4052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B337 #4537B3
analogous
#B38337 #A5B337 #67B337
triadic
#A5B337 #37A5B3 #B337A5
tetradic
#A5B337 #37B383 #4537B3 #B33767
square
#A5B337 #37B383 #4537B3 #B33767
split-complementary
#A5B337 #3767B3 #8337B3
monochromatic
#4F551A #7A8429 #A5B337 #C0CD5B #D2DB8A

Accessibility & contrast

On white

2.31
#A5B337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#A5B337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B337
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B337#FFFFFF#000000##000000
##A5B3371.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA23
Deuteranopia (green-blind)
#BEAC40
Tritanopia (blue-blind)
#AFA99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b337;
/* rgb */ color: rgb(165, 179, 55);
/* oklch */ color: oklch(73.3% 0.145 115.7);
Tailwind
colors: {
  custom: {
    50: '#c3c975',
    500: '#a5b337',
    950: '#000000',
  },
}
SCSS
$custom: #a5b337;
$custom-light: #c3c975;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b337",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 55
  },
  "hsl": {
    "h": 66.774,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73276,
    "c": 0.14546,
    "h": 115.7
  },
  "luminance": 0.40515
}

Semantic roles & 50–950 ramp

primary
#A5B337
secondary
#8881C5
accent
#4BDC5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B337

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

Preview Lab → · Contrast checker → · Palette generator →

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