#A8BA24#A8BA24

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

Color values

HEX#A8BA24
RGBrgb(168, 186, 36)
HSLhsl(67, 68%, 44%)
HSVhsv(67, 81%, 73%)
CMYKcmyk(9.7%, 0%, 80.6%, 27.1%)
CIE-LABlab(71.94, -24.02, 66.87)
CIE-LCHlch(71.94, 71.05, 109.76°)
OKLaboklab(74.99% -0.0732 0.1453)
OKLCHoklch(74.99% 0.163 116.7)
XYZxyz(34.0267, 43.5705, 8.2862)
Luminance0.4357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BA24 #3624BA
analogous
#BA8124 #A8BA24 #5DBA24
triadic
#A8BA24 #24A8BA #BA24A8
tetradic
#A8BA24 #24BA81 #3624BA #BA245D
square
#A8BA24 #24BA81 #3624BA #BA245D
split-complementary
#A8BA24 #245DBA #8124BA
monochromatic
#4B5310 #7A871A #A8BA24 #C8DA41 #D7E474

Accessibility & contrast

On white

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

On black

9.71
#A8BA24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BA24
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BA24#FFFFFF#000000##000000
##A8BA241.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8ba24;
/* rgb */ color: rgb(168, 186, 36);
/* oklch */ color: oklch(75.0% 0.163 116.7);
Tailwind
colors: {
  custom: {
    50: '#c6ce6d',
    500: '#a8ba24',
    950: '#000000',
  },
}
SCSS
$custom: #a8ba24;
$custom-light: #c6ce6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ba24",
  "rgb": {
    "r": 168,
    "g": 186,
    "b": 36
  },
  "hsl": {
    "h": 67.2,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74991,
    "c": 0.16271,
    "h": 116.7
  },
  "luminance": 0.4357
}

Semantic roles & 50–950 ramp

primary
#A8BA24
secondary
#7A6ECB
accent
#3DEA52
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8BA24

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

Preview Lab → · Contrast checker → · Palette generator →

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