#A8BB31#A8BB31

#A8BB31 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.3% C 0.157 H 117.3°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#A8BB31
RGBrgb(168, 187, 49)
HSLhsl(68, 58%, 46%)
HSVhsv(68, 74%, 73%)
CMYKcmyk(10.2%, 0%, 73.8%, 26.7%)
CIE-LABlab(72.29, -23.97, 63.21)
CIE-LCHlch(72.29, 67.60, 110.77°)
OKLaboklab(75.29% -0.072 0.1398)
OKLCHoklch(75.29% 0.157 117.3)
XYZxyz(34.4740, 44.0876, 9.5988)
Luminance0.4409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BB31 #4431BB
analogous
#BB8931 #A8BB31 #63BB31
triadic
#A8BB31 #31A8BB #BB31A8
tetradic
#A8BB31 #31BB89 #4431BB #BB3163
square
#A8BB31 #31BB89 #4431BB #BB3163
split-complementary
#A8BB31 #3163BB #8931BB
monochromatic
#515A18 #7C8B24 #A8BB31 #C2D356 #D3E087

Accessibility & contrast

On white

2.14
#A8BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#A8BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BB31
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BB31#FFFFFF#000000##000000
##A8BB311.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B114
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#B3B0A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a8bb31;
/* rgb */ color: rgb(168, 187, 49);
/* oklch */ color: oklch(75.3% 0.157 117.3);
Tailwind
colors: {
  custom: {
    50: '#c5cf73',
    500: '#a8bb31',
    950: '#000000',
  },
}
SCSS
$custom: #a8bb31;
$custom-light: #c5cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bb31",
  "rgb": {
    "r": 168,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 68.261,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75289,
    "c": 0.15726,
    "h": 117.3
  },
  "luminance": 0.44087
}

Semantic roles & 50–950 ramp

primary
#A8BB31
secondary
#897FC9
accent
#46E25C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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