#A5B830#A5B830

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

Color values

HEX#A5B830
RGBrgb(165, 184, 48)
HSLhsl(68, 59%, 45%)
HSVhsv(68, 74%, 72%)
CMYKcmyk(10.3%, 0%, 73.9%, 27.8%)
CIE-LABlab(71.21, -23.81, 62.44)
CIE-LCHlch(71.21, 66.83, 110.87°)
OKLaboklab(74.37% -0.0715 0.1381)
OKLCHoklch(74.37% 0.156 117.4)
XYZxyz(33.1918, 42.4941, 9.2494)
Luminance0.4249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B830 #4330B8
analogous
#B88730 #A5B830 #61B830
triadic
#A5B830 #30A5B8 #B830A5
tetradic
#A5B830 #30B887 #4330B8 #B83061
square
#A5B830 #30B887 #4330B8 #B83061
split-complementary
#A5B830 #3061B8 #8730B8
monochromatic
#4E5717 #798723 #A5B830 #C0D253 #D2DF84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B830#FFFFFF#000000##000000
##A5B8301.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)
#C5AE13
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#AFAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b830;
/* rgb */ color: rgb(165, 184, 48);
/* oklch */ color: oklch(74.4% 0.156 117.4);
Tailwind
colors: {
  custom: {
    50: '#c3cd72',
    500: '#a5b830',
    950: '#000000',
  },
}
SCSS
$custom: #a5b830;
$custom-light: #c3cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b830",
  "rgb": {
    "r": 165,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 68.382,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74367,
    "c": 0.15551,
    "h": 117.4
  },
  "luminance": 0.42494
}

Semantic roles & 50–950 ramp

primary
#A5B830
secondary
#867CC8
accent
#46E25C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B830

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

Preview Lab → · Contrast checker → · Palette generator →

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