#A8BD31#A8BD31

#A8BD31 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.7% C 0.160 H 117.9°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#A8BD31
RGBrgb(168, 189, 49)
HSLhsl(69, 59%, 47%)
HSVhsv(69, 74%, 74%)
CMYKcmyk(11.1%, 0%, 74.1%, 25.9%)
CIE-LABlab(72.85, -24.95, 63.75)
CIE-LCHlch(72.85, 68.45, 111.37°)
OKLaboklab(75.74% -0.0747 0.1409)
OKLCHoklch(75.74% 0.16 117.9)
XYZxyz(34.9012, 44.9421, 9.7412)
Luminance0.4494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BD31 #4631BD
analogous
#BD8C31 #A8BD31 #62BD31
triadic
#A8BD31 #31A8BD #BD31A8
tetradic
#A8BD31 #31BD8C #4631BD #BD3162
square
#A8BD31 #31BD8C #4631BD #BD3162
split-complementary
#A8BD31 #3162BD #8C31BD
monochromatic
#525C18 #7D8C24 #A8BD31 #C1D458 #D3E088

Accessibility & contrast

On white

2.10
#A8BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#A8BD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BD31
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BD31#FFFFFF#000000##000000
##A8BD311.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB313
Deuteranopia (green-blind)
#C8B33D
Tritanopia (blue-blind)
#B2B2A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #a8bd31;
/* rgb */ color: rgb(168, 189, 49);
/* oklch */ color: oklch(75.7% 0.160 117.9);
Tailwind
colors: {
  custom: {
    50: '#c5d074',
    500: '#a8bd31',
    950: '#000000',
  },
}
SCSS
$custom: #a8bd31;
$custom-light: #c5d074;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bd31",
  "rgb": {
    "r": 168,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 69,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75745,
    "c": 0.15952,
    "h": 117.9
  },
  "luminance": 0.44942
}

Semantic roles & 50–950 ramp

primary
#A8BD31
secondary
#8B80CA
accent
#46E25D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A8BD31

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

Preview Lab → · Contrast checker → · Palette generator →

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