#A5B237#A5B237

#A5B237 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.144 H 115.3°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#A5B237
RGBrgb(165, 178, 55)
HSLhsl(66, 53%, 46%)
HSVhsv(66, 69%, 70%)
CMYKcmyk(7.3%, 0%, 69.1%, 30.2%)
CIE-LABlab(69.55, -20.46, 58.29)
CIE-LCHlch(69.55, 61.78, 109.34°)
OKLaboklab(73.05% -0.0616 0.1305)
OKLCHoklch(73.05% 0.144 115.3)
XYZxyz(32.1279, 40.1165, 9.6645)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B237 #4437B2
analogous
#B28137 #A5B237 #68B237
triadic
#A5B237 #37A5B2 #B237A5
tetradic
#A5B237 #37B281 #4437B2 #B23768
square
#A5B237 #37B281 #4437B2 #B23768
split-complementary
#A5B237 #3768B2 #8137B2
monochromatic
#4E541A #7A8329 #A5B237 #C0CC5A #D2DB89

Accessibility & contrast

On white

2.33
#A5B237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#A5B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B237
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B237#FFFFFF#000000##000000
##A5B2371.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA924
Deuteranopia (green-blind)
#BEAB40
Tritanopia (blue-blind)
#AFA89A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b237;
/* rgb */ color: rgb(165, 178, 55);
/* oklch */ color: oklch(73.0% 0.144 115.3);
Tailwind
colors: {
  custom: {
    50: '#c3c875',
    500: '#a5b237',
    950: '#000000',
  },
}
SCSS
$custom: #a5b237;
$custom-light: #c3c875;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b237",
  "rgb": {
    "r": 165,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 66.341,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73049,
    "c": 0.14433,
    "h": 115.3
  },
  "luminance": 0.40116
}

Semantic roles & 50–950 ramp

primary
#A5B237
secondary
#8780C5
accent
#4CDC5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B237

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

Preview Lab → · Contrast checker → · Palette generator →

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