#A8B52D#A8B52D

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

Color values

HEX#A8B52D
RGBrgb(168, 181, 45)
HSLhsl(66, 60%, 44%)
HSVhsv(66, 75%, 71%)
CMYKcmyk(7.2%, 0%, 75.1%, 29%)
CIE-LABlab(70.57, -21.20, 62.92)
CIE-LCHlch(70.57, 66.40, 108.62°)
OKLaboklab(73.9% -0.0647 0.1385)
OKLCHoklch(73.9% 0.153 115)
XYZxyz(33.1469, 41.5626, 8.7584)
Luminance0.4156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B52D #3A2DB5
analogous
#B57E2D #A8B52D #64B52D
triadic
#A8B52D #2DA8B5 #B52DA8
tetradic
#A8B52D #2DB57E #3A2DB5 #B52D64
square
#A8B52D #2DB57E #3A2DB5 #B52D64
split-complementary
#A8B52D #2D64B5 #7E2DB5
monochromatic
#4D5315 #7B8421 #A8B52D #C6D34D #D6DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B52D#FFFFFF#000000##000000
##A8B52D1.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)
#C2AC0D
Deuteranopia (green-blind)
#C1AE39
Tritanopia (blue-blind)
#B3AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b52d;
/* rgb */ color: rgb(168, 181, 45);
/* oklch */ color: oklch(73.9% 0.153 115.0);
Tailwind
colors: {
  custom: {
    50: '#c5cb71',
    500: '#a8b52d',
    950: '#000000',
  },
}
SCSS
$custom: #a8b52d;
$custom-light: #c5cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b52d",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 65.735,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73902,
    "c": 0.15286,
    "h": 115
  },
  "luminance": 0.41562
}

Semantic roles & 50–950 ramp

primary
#A8B52D
secondary
#7E76C7
accent
#44E354
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B52D

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

Preview Lab → · Contrast checker → · Palette generator →

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