#A6CB38#A6CB38

#A6CB38 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 78.9% C 0.173 H 122.9°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#A6CB38
RGBrgb(166, 203, 56)
HSLhsl(75, 59%, 51%)
HSVhsv(75, 72%, 80%)
CMYKcmyk(18.2%, 0%, 72.4%, 20.4%)
CIE-LABlab(76.74, -32.07, 65.05)
CIE-LCHlch(76.74, 72.53, 116.24°)
OKLaboklab(78.86% -0.0937 0.1449)
OKLCHoklch(78.86% 0.173 122.9)
XYZxyz(37.7961, 51.1042, 11.6135)
Luminance0.5110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CB38 #5D38CB
analogous
#CBA638 #A6CB38 #5CCB38
triadic
#A6CB38 #38A6CB #CB38A6
tetradic
#A6CB38 #38CBA6 #5D38CB #CB385C
square
#A6CB38 #38CBA6 #5D38CB #CB385C
split-complementary
#A6CB38 #385CCB #A638CB
monochromatic
#586C1C #809D29 #A6CB38 #BCD869 #D1E499

Accessibility & contrast

On white

1.87
#A6CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#A6CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CB38
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CB38#FFFFFF#000000##000000
##A6CB381.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1C
Deuteranopia (green-blind)
#D2BD45
Tritanopia (blue-blind)
#AEC1AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a6cb38;
/* rgb */ color: rgb(166, 203, 56);
/* oklch */ color: oklch(78.9% 0.173 122.9);
Tailwind
colors: {
  custom: {
    50: '#c4db79',
    500: '#a6cb38',
    950: '#000000',
  },
}
SCSS
$custom: #a6cb38;
$custom-light: #c4db79;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cb38",
  "rgb": {
    "r": 166,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 75.102,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78858,
    "c": 0.17251,
    "h": 122.9
  },
  "luminance": 0.51104
}

Semantic roles & 50–950 ramp

primary
#A6CB38
secondary
#433176
accent
#46E26D
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A6CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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