#A5B732#A5B732

#A5B732 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.2% C 0.153 H 117.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#A5B732
RGBrgb(165, 183, 50)
HSLhsl(68, 57%, 46%)
HSVhsv(68, 73%, 72%)
CMYKcmyk(9.8%, 0%, 72.7%, 28.2%)
CIE-LABlab(70.94, -23.21, 61.49)
CIE-LCHlch(70.94, 65.73, 110.68°)
OKLaboklab(74.15% -0.0697 0.1364)
OKLCHoklch(74.15% 0.153 117.1)
XYZxyz(33.0271, 42.0970, 9.4027)
Luminance0.4210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B732 #4432B7
analogous
#B78632 #A5B732 #62B732
triadic
#A5B732 #32A5B7 #B732A5
tetradic
#A5B732 #32B786 #4432B7 #B73262
square
#A5B732 #32B786 #4432B7 #B73262
split-complementary
#A5B732 #3262B7 #8632B7
monochromatic
#4E5718 #7A8725 #A5B732 #C0D156 #D2DE86

Accessibility & contrast

On white

2.23
#A5B732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#A5B732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B732
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B732#FFFFFF#000000##000000
##A5B7321.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD18
Deuteranopia (green-blind)
#C2AE3D
Tritanopia (blue-blind)
#AFAD9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b732;
/* rgb */ color: rgb(165, 183, 50);
/* oklch */ color: oklch(74.2% 0.153 117.1);
Tailwind
colors: {
  custom: {
    50: '#c3cc73',
    500: '#a5b732',
    950: '#000000',
  },
}
SCSS
$custom: #a5b732;
$custom-light: #c3cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b732",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 50
  },
  "hsl": {
    "h": 68.12,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74151,
    "c": 0.1532,
    "h": 117.1
  },
  "luminance": 0.42097
}

Semantic roles & 50–950 ramp

primary
#A5B732
secondary
#877DC7
accent
#47E05C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B732

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

Preview Lab → · Contrast checker → · Palette generator →

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