#A8BA37#A8BA37

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

Color values

HEX#A8BA37
RGBrgb(168, 186, 55)
HSLhsl(68, 54%, 47%)
HSVhsv(68, 70%, 73%)
CMYKcmyk(9.7%, 0%, 70.4%, 27.1%)
CIE-LABlab(72.04, -23.17, 60.84)
CIE-LCHlch(72.04, 65.10, 110.85°)
OKLaboklab(75.1% -0.0693 0.1358)
OKLCHoklch(75.1% 0.152 117)
XYZxyz(34.3977, 43.7189, 10.2402)
Luminance0.4372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BA37 #4937BA
analogous
#BA8A37 #A8BA37 #67BA37
triadic
#A8BA37 #37A8BA #BA37A8
tetradic
#A8BA37 #37BA8A #4937BA #BA3767
square
#A8BA37 #37BA8A #4937BA #BA3767
split-complementary
#A8BA37 #3767BA #8A37BA
monochromatic
#535C1B #7D8B29 #A8BA37 #C0D05F #D3DE8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8BA37#FFFFFF#000000##000000
##A8BA371.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)
#C7B021
Deuteranopia (green-blind)
#C5B141
Tritanopia (blue-blind)
#B2B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a8ba37;
/* rgb */ color: rgb(168, 186, 55);
/* oklch */ color: oklch(75.1% 0.152 117.0);
Tailwind
colors: {
  custom: {
    50: '#c5ce76',
    500: '#a8ba37',
    950: '#000000',
  },
}
SCSS
$custom: #a8ba37;
$custom-light: #c5ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ba37",
  "rgb": {
    "r": 168,
    "g": 186,
    "b": 55
  },
  "hsl": {
    "h": 68.244,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75103,
    "c": 0.15246,
    "h": 117
  },
  "luminance": 0.43718
}

Semantic roles & 50–950 ramp

primary
#A8BA37
secondary
#8E85C8
accent
#4ADE5E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8BA37

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

Preview Lab → · Contrast checker → · Palette generator →

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