#A8BA27#A8BA27

#A8BA27 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.161 H 116.8°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#A8BA27
RGBrgb(168, 186, 39)
HSLhsl(67, 65%, 44%)
HSVhsv(67, 79%, 73%)
CMYKcmyk(9.7%, 0%, 79%, 27.1%)
CIE-LABlab(71.95, -23.91, 66.04)
CIE-LCHlch(71.95, 70.24, 109.91°)
OKLaboklab(75.01% -0.0727 0.1441)
OKLCHoklch(75.01% 0.161 116.8)
XYZxyz(34.0745, 43.5896, 8.5377)
Luminance0.4359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BA27 #3927BA
analogous
#BA8327 #A8BA27 #5FBA27
triadic
#A8BA27 #27A8BA #BA27A8
tetradic
#A8BA27 #27BA83 #3927BA #BA275F
square
#A8BA27 #27BA83 #3927BA #BA275F
split-complementary
#A8BA27 #275FBA #8327BA
monochromatic
#4D5512 #7A871C #A8BA27 #C6D846 #D6E379

Accessibility & contrast

On white

2.16
#A8BA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#A8BA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BA27
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BA27#FFFFFF#000000##000000
##A8BA271.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C6B135
Tritanopia (blue-blind)
#B3AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8ba27;
/* rgb */ color: rgb(168, 186, 39);
/* oklch */ color: oklch(75.0% 0.161 116.8);
Tailwind
colors: {
  custom: {
    50: '#c6ce6f',
    500: '#a8ba27',
    950: '#000000',
  },
}
SCSS
$custom: #a8ba27;
$custom-light: #c6ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ba27",
  "rgb": {
    "r": 168,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 67.347,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.75005,
    "c": 0.16136,
    "h": 116.8
  },
  "luminance": 0.43589
}

Semantic roles & 50–950 ramp

primary
#A8BA27
secondary
#7D72CB
accent
#40E854
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8BA27

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

Preview Lab → · Contrast checker → · Palette generator →

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