#A6CA38#A6CA38

#A6CA38 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.6% C 0.171 H 122.6°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#A6CA38
RGBrgb(166, 202, 56)
HSLhsl(75, 58%, 51%)
HSVhsv(75, 72%, 79%)
CMYKcmyk(17.8%, 0%, 72.3%, 20.8%)
CIE-LABlab(76.46, -31.60, 64.77)
CIE-LCHlch(76.46, 72.07, 116.01°)
OKLaboklab(78.63% -0.0924 0.1443)
OKLCHoklch(78.63% 0.171 122.6)
XYZxyz(37.5607, 50.6334, 11.5351)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CA38 #5C38CA
analogous
#CAA538 #A6CA38 #5DCA38
triadic
#A6CA38 #38A6CA #CA38A6
tetradic
#A6CA38 #38CAA5 #5C38CA #CA385D
square
#A6CA38 #38CAA5 #5C38CA #CA385D
split-complementary
#A6CA38 #385DCA #A538CA
monochromatic
#586B1D #7F9B29 #A6CA38 #BCD768 #D1E499

Accessibility & contrast

On white

1.89
#A6CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#A6CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CA38
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CA38#FFFFFF#000000##000000
##A6CA381.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1C
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#AFC0AE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a6ca38;
/* rgb */ color: rgb(166, 202, 56);
/* oklch */ color: oklch(78.6% 0.171 122.6);
Tailwind
colors: {
  custom: {
    50: '#c4da78',
    500: '#a6ca38',
    950: '#000000',
  },
}
SCSS
$custom: #a6ca38;
$custom-light: #c4da78;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ca38",
  "rgb": {
    "r": 166,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 74.795,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78627,
    "c": 0.17133,
    "h": 122.6
  },
  "luminance": 0.50634
}

Semantic roles & 50–950 ramp

primary
#A6CA38
secondary
#423175
accent
#47E16D
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#13140A
muted
#83837D

Preview Lab

Preview with #A6CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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