#A8B52E#A8B52E

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

Color values

HEX#A8B52E
RGBrgb(168, 181, 46)
HSLhsl(66, 59%, 45%)
HSVhsv(66, 75%, 71%)
CMYKcmyk(7.2%, 0%, 74.6%, 29%)
CIE-LABlab(70.57, -21.15, 62.59)
CIE-LCHlch(70.57, 66.07, 108.67°)
OKLaboklab(73.91% -0.0645 0.138)
OKLCHoklch(73.91% 0.152 115.1)
XYZxyz(33.1664, 41.5704, 8.8610)
Luminance0.4157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B52E #3B2EB5
analogous
#B57F2E #A8B52E #65B52E
triadic
#A8B52E #2EA8B5 #B52EA8
tetradic
#A8B52E #2EB57F #3B2EB5 #B52E65
square
#A8B52E #2EB57F #3B2EB5 #B52E65
split-complementary
#A8B52E #2E65B5 #7F2EB5
monochromatic
#4D5315 #7B8422 #A8B52E #C5D24E #D5DE7F

Accessibility & contrast

On white

2.25
#A8B52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B52E#FFFFFF#000000##000000
##A8B52E1.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b52e;
/* rgb */ color: rgb(168, 181, 46);
/* oklch */ color: oklch(73.9% 0.152 115.1);
Tailwind
colors: {
  custom: {
    50: '#c5cb71',
    500: '#a8b52e',
    950: '#000000',
  },
}
SCSS
$custom: #a8b52e;
$custom-light: #c5cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b52e",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 65.778,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73908,
    "c": 0.15231,
    "h": 115.1
  },
  "luminance": 0.4157
}

Semantic roles & 50–950 ramp

primary
#A8B52E
secondary
#7F78C7
accent
#45E354
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B52E

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

Preview Lab → · Contrast checker → · Palette generator →

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