#A8B52F#A8B52F

#A8B52F 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.32:1 contrast (WCAG AA passes).

Color values

HEX#A8B52F
RGBrgb(168, 181, 47)
HSLhsl(66, 59%, 45%)
HSVhsv(66, 74%, 71%)
CMYKcmyk(7.2%, 0%, 74%, 29%)
CIE-LABlab(70.58, -21.10, 62.26)
CIE-LCHlch(70.58, 65.74, 108.72°)
OKLaboklab(73.91% -0.0643 0.1374)
OKLCHoklch(73.91% 0.152 115.1)
XYZxyz(33.1863, 41.5784, 8.9660)
Luminance0.4158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B52F #3C2FB5
analogous
#B57F2F #A8B52F #65B52F
triadic
#A8B52F #2FA8B5 #B52FA8
tetradic
#A8B52F #2FB57F #3C2FB5 #B52F65
square
#A8B52F #2FB57F #3C2FB5 #B52F65
split-complementary
#A8B52F #2F65B5 #7F2FB5
monochromatic
#4E5416 #7B8422 #A8B52F #C5D150 #D5DE80

Accessibility & contrast

On white

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

On black

9.32
#A8B52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B52F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B52F#FFFFFF#000000##000000
##A8B52F1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b52f;
/* rgb */ color: rgb(168, 181, 47);
/* oklch */ color: oklch(73.9% 0.152 115.1);
Tailwind
colors: {
  custom: {
    50: '#c5cb72',
    500: '#a8b52f',
    950: '#000000',
  },
}
SCSS
$custom: #a8b52f;
$custom-light: #c5cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b52f",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 65.821,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73914,
    "c": 0.15173,
    "h": 115.1
  },
  "luminance": 0.41578
}

Semantic roles & 50–950 ramp

primary
#A8B52F
secondary
#8079C7
accent
#46E255
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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