#A6BD38#A6BD38

#A6BD38 is a light, vivid yellow-green. Relative luminance 0.448; OKLCH L 75.6% C 0.156 H 118.9°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#A6BD38
RGBrgb(166, 189, 56)
HSLhsl(70, 54%, 48%)
HSVhsv(70, 70%, 74%)
CMYKcmyk(12.2%, 0%, 70.4%, 25.9%)
CIE-LABlab(72.75, -25.41, 61.13)
CIE-LCHlch(72.75, 66.20, 112.57°)
OKLaboklab(75.64% -0.0753 0.1366)
OKLCHoklch(75.64% 0.156 118.9)
XYZxyz(34.6380, 44.7880, 10.5608)
Luminance0.4479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BD38 #4F38BD
analogous
#BD9138 #A6BD38 #63BD38
triadic
#A6BD38 #38A6BD #BD38A6
tetradic
#A6BD38 #38BD91 #4F38BD #BD3863
square
#A6BD38 #38BD91 #4F38BD #BD3863
split-complementary
#A6BD38 #3863BD #9138BD
monochromatic
#535F1C #7D8E2A #A6BD38 #BDD062 #D1DE91

Accessibility & contrast

On white

2.11
#A6BD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#A6BD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BD38
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BD38#FFFFFF#000000##000000
##A6BD381.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B222
Deuteranopia (green-blind)
#C7B343
Tritanopia (blue-blind)
#B0B3A3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bd38;
/* rgb */ color: rgb(166, 189, 56);
/* oklch */ color: oklch(75.6% 0.156 118.9);
Tailwind
colors: {
  custom: {
    50: '#c4d077',
    500: '#a6bd38',
    950: '#000000',
  },
}
SCSS
$custom: #a6bd38;
$custom-light: #c4d077;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bd38",
  "rgb": {
    "r": 166,
    "g": 189,
    "b": 56
  },
  "hsl": {
    "h": 70.376,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7564,
    "c": 0.156,
    "h": 118.9
  },
  "luminance": 0.44788
}

Semantic roles & 50–950 ramp

primary
#A6BD38
secondary
#9387C9
accent
#4ADE64
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A6BD38

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

Preview Lab → · Contrast checker → · Palette generator →

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