#A5B232#A5B232

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

Color values

HEX#A5B232
RGBrgb(165, 178, 50)
HSLhsl(66, 56%, 45%)
HSVhsv(66, 72%, 70%)
CMYKcmyk(7.3%, 0%, 71.9%, 30.2%)
CIE-LABlab(69.52, -20.73, 60.12)
CIE-LCHlch(69.52, 63.59, 109.03°)
OKLaboklab(73.01% -0.0628 0.1335)
OKLCHoklch(73.01% 0.148 115.2)
XYZxyz(32.0140, 40.0709, 9.0650)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B232 #3F32B2
analogous
#B27F32 #A5B232 #65B232
triadic
#A5B232 #32A5B2 #B232A5
tetradic
#A5B232 #32B27F #3F32B2 #B23265
square
#A5B232 #32B27F #3F32B2 #B23265
split-complementary
#A5B232 #3265B2 #7F32B2
monochromatic
#4C5217 #798225 #A5B232 #C2CF53 #D3DC82

Accessibility & contrast

On white

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

On black

9.01
#A5B232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B232
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B232#FFFFFF#000000##000000
##A5B2321.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91B
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b232;
/* rgb */ color: rgb(165, 178, 50);
/* oklch */ color: oklch(73.0% 0.148 115.2);
Tailwind
colors: {
  custom: {
    50: '#c3c873',
    500: '#a5b232',
    950: '#000000',
  },
}
SCSS
$custom: #a5b232;
$custom-light: #c3c873;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b232",
  "rgb": {
    "r": 165,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 66.094,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73013,
    "c": 0.14757,
    "h": 115.2
  },
  "luminance": 0.4007
}

Semantic roles & 50–950 ramp

primary
#A5B232
secondary
#827BC5
accent
#48DF58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B232

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

Preview Lab → · Contrast checker → · Palette generator →

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