#A8BC31#A8BC31

#A8BC31 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.5% C 0.158 H 117.6°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#A8BC31
RGBrgb(168, 188, 49)
HSLhsl(69, 59%, 46%)
HSVhsv(69, 74%, 74%)
CMYKcmyk(10.6%, 0%, 73.9%, 26.3%)
CIE-LABlab(72.57, -24.46, 63.48)
CIE-LCHlch(72.57, 68.03, 111.07°)
OKLaboklab(75.52% -0.0734 0.1404)
OKLCHoklch(75.52% 0.158 117.6)
XYZxyz(34.6869, 44.5134, 9.6698)
Luminance0.4451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BC31 #4531BC
analogous
#BC8B31 #A8BC31 #63BC31
triadic
#A8BC31 #31A8BC #BC31A8
tetradic
#A8BC31 #31BC8B #4531BC #BC3163
square
#A8BC31 #31BC8B #4531BC #BC3163
split-complementary
#A8BC31 #3163BC #8B31BC
monochromatic
#515B18 #7D8B24 #A8BC31 #C1D357 #D3E088

Accessibility & contrast

On white

2.12
#A8BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#A8BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BC31
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BC31#FFFFFF#000000##000000
##A8BC311.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B213
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#B2B1A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a8bc31;
/* rgb */ color: rgb(168, 188, 49);
/* oklch */ color: oklch(75.5% 0.158 117.6);
Tailwind
colors: {
  custom: {
    50: '#c5d073',
    500: '#a8bc31',
    950: '#000000',
  },
}
SCSS
$custom: #a8bc31;
$custom-light: #c5d073;
$custom-dark: #000000;
JSON
{
  "hex": "#a8bc31",
  "rgb": {
    "r": 168,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 68.633,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75517,
    "c": 0.15838,
    "h": 117.6
  },
  "luminance": 0.44513
}

Semantic roles & 50–950 ramp

primary
#A8BC31
secondary
#8A7FCA
accent
#46E25C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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