#A8B951#A8B951

#A8B951 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.1% C 0.131 H 117.4°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#A8B951
RGBrgb(168, 185, 81)
HSLhsl(70, 43%, 52%)
HSVhsv(70, 56%, 73%)
CMYKcmyk(9.2%, 0%, 56.2%, 27.5%)
CIE-LABlab(71.97, -20.86, 49.87)
CIE-LCHlch(71.97, 54.06, 112.70°)
OKLaboklab(75.12% -0.0603 0.1162)
OKLCHoklch(75.12% 0.131 117.4)
XYZxyz(34.9831, 43.6172, 14.3590)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B951 #6251B9
analogous
#B99651 #A8B951 #74B951
triadic
#A8B951 #51A8B9 #B951A8
tetradic
#A8B951 #51B996 #6251B9 #B95174
square
#A8B951 #51B996 #6251B9 #B95174
split-complementary
#A8B951 #5174B9 #9651B9
monochromatic
#5C6629 #84923B #A8B951 #BECB7D #D4DCA8

Accessibility & contrast

On white

2.16
#A8B951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#A8B951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B951
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B951#FFFFFF#000000##000000
##A8B9511.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B046
Deuteranopia (green-blind)
#C3B157
Tritanopia (blue-blind)
#B1B0A2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8b951;
/* rgb */ color: rgb(168, 185, 81);
/* oklch */ color: oklch(75.1% 0.131 117.4);
Tailwind
colors: {
  custom: {
    50: '#c4ce85',
    500: '#a8b951',
    950: '#000000',
  },
}
SCSS
$custom: #a8b951;
$custom-light: #c4ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b951",
  "rgb": {
    "r": 168,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 69.808,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75116,
    "c": 0.1309,
    "h": 117.4
  },
  "luminance": 0.43617
}

Semantic roles & 50–950 ramp

primary
#A8B951
secondary
#A49CCA
accent
#55D26A
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A8B951

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

Preview Lab → · Contrast checker → · Palette generator →

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