#A6BA37#A6BA37

#A6BA37 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 74.9% C 0.153 H 117.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#A6BA37
RGBrgb(166, 186, 55)
HSLhsl(69, 54%, 47%)
HSVhsv(69, 70%, 73%)
CMYKcmyk(10.8%, 0%, 70.4%, 27.1%)
CIE-LABlab(71.89, -24.00, 60.65)
CIE-LCHlch(71.89, 65.22, 111.59°)
OKLaboklab(74.95% -0.0715 0.1354)
OKLCHoklch(74.95% 0.153 117.8)
XYZxyz(33.9751, 43.5010, 10.2204)
Luminance0.4350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA37 #4B37BA
analogous
#BA8C37 #A6BA37 #65BA37
triadic
#A6BA37 #37A6BA #BA37A6
tetradic
#A6BA37 #37BA8C #4B37BA #BA3765
square
#A6BA37 #37BA8C #4B37BA #BA3765
split-complementary
#A6BA37 #3765BA #8C37BA
monochromatic
#525C1B #7C8B29 #A6BA37 #BED05F #D1DE8E

Accessibility & contrast

On white

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

On black

9.70
#A6BA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BA37
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BA37#FFFFFF#000000##000000
##A6BA371.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B021
Deuteranopia (green-blind)
#C4B141
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba37;
/* rgb */ color: rgb(166, 186, 55);
/* oklch */ color: oklch(74.9% 0.153 117.8);
Tailwind
colors: {
  custom: {
    50: '#c4ce76',
    500: '#a6ba37',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba37;
$custom-light: #c4ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba37",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 55
  },
  "hsl": {
    "h": 69.16,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74948,
    "c": 0.15316,
    "h": 117.8
  },
  "luminance": 0.43501
}

Semantic roles & 50–950 ramp

primary
#A6BA37
secondary
#8F85C8
accent
#4ADE61
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BA37

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

Preview Lab → · Contrast checker → · Palette generator →

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