#A8BA33#A8BA33

#A8BA33 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.1% C 0.155 H 117.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#A8BA33
RGBrgb(168, 186, 51)
HSLhsl(68, 57%, 46%)
HSVhsv(68, 73%, 73%)
CMYKcmyk(9.7%, 0%, 72.6%, 27.1%)
CIE-LABlab(72.02, -23.38, 62.26)
CIE-LCHlch(72.02, 66.50, 110.58°)
OKLaboklab(75.08% -0.0703 0.1381)
OKLCHoklch(75.08% 0.155 117)
XYZxyz(34.3057, 43.6821, 9.7556)
Luminance0.4368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BA33 #4533BA
analogous
#BA8933 #A8BA33 #65BA33
triadic
#A8BA33 #33A8BA #BA33A8
tetradic
#A8BA33 #33BA89 #4533BA #BA3365
square
#A8BA33 #33BA89 #4533BA #BA3365
split-complementary
#A8BA33 #3365BA #8933BA
monochromatic
#515A19 #7D8A26 #A8BA33 #C1D159 #D3DF89

Accessibility & contrast

On white

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

On black

9.74
#A8BA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BA33
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BA33#FFFFFF#000000##000000
##A8BA331.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B019
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#B3AFA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8ba33;
/* rgb */ color: rgb(168, 186, 51);
/* oklch */ color: oklch(75.1% 0.155 117.0);
Tailwind
colors: {
  custom: {
    50: '#c5ce74',
    500: '#a8ba33',
    950: '#000000',
  },
}
SCSS
$custom: #a8ba33;
$custom-light: #c5ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ba33",
  "rgb": {
    "r": 168,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 68,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75075,
    "c": 0.15496,
    "h": 117
  },
  "luminance": 0.43682
}

Semantic roles & 50–950 ramp

primary
#A8BA33
secondary
#8A80C9
accent
#48E05C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8BA33

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

Preview Lab → · Contrast checker → · Palette generator →

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