#A8B831#A8B831

#A8B831 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.6% C 0.154 H 116.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#A8B831
RGBrgb(168, 184, 49)
HSLhsl(67, 58%, 46%)
HSVhsv(67, 73%, 72%)
CMYKcmyk(8.7%, 0%, 73.4%, 27.8%)
CIE-LABlab(71.44, -22.50, 62.40)
CIE-LCHlch(71.44, 66.33, 109.83°)
OKLaboklab(74.61% -0.068 0.1381)
OKLCHoklch(74.61% 0.154 116.2)
XYZxyz(33.8442, 42.8280, 9.3889)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B831 #4131B8
analogous
#B88431 #A8B831 #64B831
triadic
#A8B831 #31A8B8 #B831A8
tetradic
#A8B831 #31B884 #4131B8 #B83164
square
#A8B831 #31B884 #4131B8 #B83164
split-complementary
#A8B831 #3164B8 #8431B8
monochromatic
#505717 #7C8824 #A8B831 #C3D255 #D4DE85

Accessibility & contrast

On white

2.20
#A8B831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#A8B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B831
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B831#FFFFFF#000000##000000
##A8B8311.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE15
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#B3AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a8b831;
/* rgb */ color: rgb(168, 184, 49);
/* oklch */ color: oklch(74.6% 0.154 116.2);
Tailwind
colors: {
  custom: {
    50: '#c5cd73',
    500: '#a8b831',
    950: '#000000',
  },
}
SCSS
$custom: #a8b831;
$custom-light: #c5cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b831",
  "rgb": {
    "r": 168,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 67.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74607,
    "c": 0.15389,
    "h": 116.2
  },
  "luminance": 0.42828
}

Semantic roles & 50–950 ramp

primary
#A8B831
secondary
#867DC8
accent
#47E159
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B831

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

Preview Lab → · Contrast checker → · Palette generator →

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