#A8B52B#A8B52B

#A8B52B is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.154 H 115.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#A8B52B
RGBrgb(168, 181, 43)
HSLhsl(66, 62%, 44%)
HSVhsv(66, 76%, 71%)
CMYKcmyk(7.2%, 0%, 76.2%, 29%)
CIE-LABlab(70.56, -21.29, 63.56)
CIE-LCHlch(70.56, 67.03, 108.52°)
OKLaboklab(73.89% -0.0651 0.1395)
OKLCHoklch(73.89% 0.154 115)
XYZxyz(33.1093, 41.5476, 8.5604)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B52B #382BB5
analogous
#B57D2B #A8B52B #63B52B
triadic
#A8B52B #2BA8B5 #B52BA8
tetradic
#A8B52B #2BB57D #382BB5 #B52B63
square
#A8B52B #2BB57D #382BB5 #B52B63
split-complementary
#A8B52B #2B63B5 #7D2BB5
monochromatic
#4C5214 #7A841F #A8B52B #C7D449 #D6E07B

Accessibility & contrast

On white

2.26
#A8B52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#A8B52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B52B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B52B#FFFFFF#000000##000000
##A8B52B1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC05
Deuteranopia (green-blind)
#C1AE37
Tritanopia (blue-blind)
#B3AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b52b;
/* rgb */ color: rgb(168, 181, 43);
/* oklch */ color: oklch(73.9% 0.154 115.0);
Tailwind
colors: {
  custom: {
    50: '#c5cb70',
    500: '#a8b52b',
    950: '#000000',
  },
}
SCSS
$custom: #a8b52b;
$custom-light: #c5cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b52b",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 65.652,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.7389,
    "c": 0.15394,
    "h": 115
  },
  "luminance": 0.41547
}

Semantic roles & 50–950 ramp

primary
#A8B52B
secondary
#7C74C8
accent
#43E552
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B52B

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

Preview Lab → · Contrast checker → · Palette generator →

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