#A5B833#A5B833

#A5B833 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.4% C 0.154 H 117.4°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#A5B833
RGBrgb(165, 184, 51)
HSLhsl(69, 57%, 46%)
HSVhsv(69, 72%, 72%)
CMYKcmyk(10.3%, 0%, 72.3%, 27.8%)
CIE-LABlab(71.23, -23.65, 61.42)
CIE-LCHlch(71.23, 65.82, 111.06°)
OKLaboklab(74.39% -0.0708 0.1364)
OKLCHoklch(74.39% 0.154 117.4)
XYZxyz(33.2559, 42.5197, 9.5865)
Luminance0.4252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B833 #4633B8
analogous
#B88833 #A5B833 #62B833
triadic
#A5B833 #33A5B8 #B833A5
tetradic
#A5B833 #33B888 #4633B8 #B83362
square
#A5B833 #33B888 #4633B8 #B83362
split-complementary
#A5B833 #3362B8 #8833B8
monochromatic
#4F5818 #7A8826 #A5B833 #BFD158 #D2DE88

Accessibility & contrast

On white

2.21
#A5B833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#A5B833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B833
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B833#FFFFFF#000000##000000
##A5B8331.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE1A
Deuteranopia (green-blind)
#C3AF3E
Tritanopia (blue-blind)
#AFAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b833;
/* rgb */ color: rgb(165, 184, 51);
/* oklch */ color: oklch(74.4% 0.154 117.4);
Tailwind
colors: {
  custom: {
    50: '#c3cd74',
    500: '#a5b833',
    950: '#000000',
  },
}
SCSS
$custom: #a5b833;
$custom-light: #c3cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b833",
  "rgb": {
    "r": 165,
    "g": 184,
    "b": 51
  },
  "hsl": {
    "h": 68.571,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74386,
    "c": 0.15373,
    "h": 117.4
  },
  "luminance": 0.42519
}

Semantic roles & 50–950 ramp

primary
#A5B833
secondary
#897FC8
accent
#48E05E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B833

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

Preview Lab → · Contrast checker → · Palette generator →

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