#A6BC38#A6BC38

#A6BC38 is a light, vivid yellow-green. Relative luminance 0.444; OKLCH L 75.4% C 0.155 H 118.5°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#A6BC38
RGBrgb(166, 188, 56)
HSLhsl(70, 54%, 48%)
HSVhsv(70, 70%, 74%)
CMYKcmyk(11.7%, 0%, 70.2%, 26.3%)
CIE-LABlab(72.47, -24.92, 60.85)
CIE-LCHlch(72.47, 65.75, 112.27°)
OKLaboklab(75.41% -0.074 0.136)
OKLCHoklch(75.41% 0.155 118.5)
XYZxyz(34.4236, 44.3592, 10.4894)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BC38 #4E38BC
analogous
#BC9038 #A6BC38 #64BC38
triadic
#A6BC38 #38A6BC #BC38A6
tetradic
#A6BC38 #38BC90 #4E38BC #BC3864
square
#A6BC38 #38BC90 #4E38BC #BC3864
split-complementary
#A6BC38 #3864BC #9038BC
monochromatic
#535E1C #7C8D2A #A6BC38 #BED061 #D1DE90

Accessibility & contrast

On white

2.13
#A6BC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#A6BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BC38
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BC38#FFFFFF#000000##000000
##A6BC381.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B222
Deuteranopia (green-blind)
#C6B243
Tritanopia (blue-blind)
#B0B2A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bc38;
/* rgb */ color: rgb(166, 188, 56);
/* oklch */ color: oklch(75.4% 0.155 118.5);
Tailwind
colors: {
  custom: {
    50: '#c4d077',
    500: '#a6bc38',
    950: '#000000',
  },
}
SCSS
$custom: #a6bc38;
$custom-light: #c4d077;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bc38",
  "rgb": {
    "r": 166,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 70,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75412,
    "c": 0.15484,
    "h": 118.5
  },
  "luminance": 0.44359
}

Semantic roles & 50–950 ramp

primary
#A6BC38
secondary
#9287C9
accent
#4ADD63
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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