#A8BE31#A8BE31

#A8BE31 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.0% C 0.161 H 118.3°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#A8BE31
RGBrgb(168, 190, 49)
HSLhsl(69, 59%, 47%)
HSVhsv(69, 74%, 75%)
CMYKcmyk(11.6%, 0%, 74.2%, 25.5%)
CIE-LABlab(73.14, -25.43, 64.02)
CIE-LCHlch(73.14, 68.88, 111.67°)
OKLaboklab(75.97% -0.0761 0.1415)
OKLCHoklch(75.97% 0.161 118.3)
XYZxyz(35.1171, 45.3738, 9.8132)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BE31 #4731BE
analogous
#BE8E31 #A8BE31 #61BE31
triadic
#A8BE31 #31A8BE #BE31A8
tetradic
#A8BE31 #31BE8E #4731BE #BE3161
square
#A8BE31 #31BE8E #4731BE #BE3161
split-complementary
#A8BE31 #3161BE #8E31BE
monochromatic
#525D18 #7D8D24 #A8BE31 #C1D458 #D3E189

Accessibility & contrast

On white

2.08
#A8BE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#A8BE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BE31
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BE31#FFFFFF#000000##000000
##A8BE311.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB312
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#B2B3A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a8be31;
/* rgb */ color: rgb(168, 190, 49);
/* oklch */ color: oklch(76.0% 0.161 118.3);
Tailwind
colors: {
  custom: {
    50: '#c5d174',
    500: '#a8be31',
    950: '#000000',
  },
}
SCSS
$custom: #a8be31;
$custom-light: #c5d174;
$custom-dark: #000000;
JSON
{
  "hex": "#a8be31",
  "rgb": {
    "r": 168,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 69.362,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75973,
    "c": 0.16064,
    "h": 118.3
  },
  "luminance": 0.45373
}

Semantic roles & 50–950 ramp

primary
#A8BE31
secondary
#8C80CA
accent
#46E25E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A8BE31

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

Preview Lab → · Contrast checker → · Palette generator →

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