#A8B52C#A8B52C

#A8B52C 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#A8B52C
RGBrgb(168, 181, 44)
HSLhsl(66, 61%, 44%)
HSVhsv(66, 76%, 71%)
CMYKcmyk(7.2%, 0%, 75.7%, 29%)
CIE-LABlab(70.56, -21.24, 63.24)
CIE-LCHlch(70.56, 66.71, 108.57°)
OKLaboklab(73.9% -0.0649 0.139)
OKLCHoklch(73.9% 0.153 115)
XYZxyz(33.1279, 41.5550, 8.6582)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B52C #392CB5
analogous
#B57E2C #A8B52C #64B52C
triadic
#A8B52C #2CA8B5 #B52CA8
tetradic
#A8B52C #2CB57E #392CB5 #B52C64
square
#A8B52C #2CB57E #392CB5 #B52C64
split-complementary
#A8B52C #2C64B5 #7E2CB5
monochromatic
#4D5314 #7A8420 #A8B52C #C6D34B #D6DF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B52C#FFFFFF#000000##000000
##A8B52C1.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)
#C2AC09
Deuteranopia (green-blind)
#C1AE38
Tritanopia (blue-blind)
#B3AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b52c;
/* rgb */ color: rgb(168, 181, 44);
/* oklch */ color: oklch(73.9% 0.153 115.0);
Tailwind
colors: {
  custom: {
    50: '#c5cb70',
    500: '#a8b52c',
    950: '#000000',
  },
}
SCSS
$custom: #a8b52c;
$custom-light: #c5cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b52c",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 65.693,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73896,
    "c": 0.15341,
    "h": 115
  },
  "luminance": 0.41554
}

Semantic roles & 50–950 ramp

primary
#A8B52C
secondary
#7D75C8
accent
#44E453
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B52C

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

Preview Lab → · Contrast checker → · Palette generator →

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