#A8BA39#A8BA39

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

Color values

HEX#A8BA39
RGBrgb(168, 186, 57)
HSLhsl(68, 53%, 48%)
HSVhsv(68, 69%, 73%)
CMYKcmyk(9.7%, 0%, 69.4%, 27.1%)
CIE-LABlab(72.05, -23.06, 60.11)
CIE-LCHlch(72.05, 64.38, 110.99°)
OKLaboklab(75.12% -0.0688 0.1346)
OKLCHoklch(75.12% 0.151 117.1)
XYZxyz(34.4467, 43.7385, 10.4978)
Luminance0.4374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BA39 #4B39BA
analogous
#BA8B39 #A8BA39 #68BA39
triadic
#A8BA39 #39A8BA #BA39A8
tetradic
#A8BA39 #39BA8B #4B39BA #BA3968
square
#A8BA39 #39BA8B #4B39BA #BA3968
split-complementary
#A8BA39 #3968BA #8B39BA
monochromatic
#535C1C #7E8B2B #A8BA39 #BFCF61 #D2DD90

Accessibility & contrast

On white

2.15
#A8BA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#A8BA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BA39
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BA39#FFFFFF#000000##000000
##A8BA391.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B024
Deuteranopia (green-blind)
#C5B143
Tritanopia (blue-blind)
#B2B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a8ba39;
/* rgb */ color: rgb(168, 186, 57);
/* oklch */ color: oklch(75.1% 0.151 117.1);
Tailwind
colors: {
  custom: {
    50: '#c5ce77',
    500: '#a8ba39',
    950: '#000000',
  },
}
SCSS
$custom: #a8ba39;
$custom-light: #c5ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ba39",
  "rgb": {
    "r": 168,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 68.372,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75117,
    "c": 0.15115,
    "h": 117.1
  },
  "luminance": 0.43738
}

Semantic roles & 50–950 ramp

primary
#A8BA39
secondary
#9087C8
accent
#4BDC60
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A8BA39

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

Preview Lab → · Contrast checker → · Palette generator →

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