#A6BB38#A6BB38

#A6BB38 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.2% C 0.154 H 118.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#A6BB38
RGBrgb(166, 187, 56)
HSLhsl(70, 54%, 48%)
HSVhsv(70, 70%, 73%)
CMYKcmyk(11.2%, 0%, 70.1%, 26.7%)
CIE-LABlab(72.18, -24.44, 60.56)
CIE-LCHlch(72.18, 65.31, 111.97°)
OKLaboklab(75.18% -0.0726 0.1354)
OKLCHoklch(75.18% 0.154 118.2)
XYZxyz(34.2107, 43.9335, 10.4184)
Luminance0.4393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BB38 #4D38BB
analogous
#BB8E38 #A6BB38 #65BB38
triadic
#A6BB38 #38A6BB #BB38A6
tetradic
#A6BB38 #38BB8E #4D38BB #BB3865
square
#A6BB38 #38BB8E #4D38BB #BB3865
split-complementary
#A6BB38 #3865BB #8E38BB
monochromatic
#525D1C #7C8C2A #A6BB38 #BED061 #D1DE90

Accessibility & contrast

On white

2.15
#A6BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#A6BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BB38
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BB38#FFFFFF#000000##000000
##A6BB381.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B122
Deuteranopia (green-blind)
#C5B242
Tritanopia (blue-blind)
#B0B1A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a6bb38;
/* rgb */ color: rgb(166, 187, 56);
/* oklch */ color: oklch(75.2% 0.154 118.2);
Tailwind
colors: {
  custom: {
    50: '#c4cf77',
    500: '#a6bb38',
    950: '#000000',
  },
}
SCSS
$custom: #a6bb38;
$custom-light: #c4cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bb38",
  "rgb": {
    "r": 166,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 69.618,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75184,
    "c": 0.15367,
    "h": 118.2
  },
  "luminance": 0.43933
}

Semantic roles & 50–950 ramp

primary
#A6BB38
secondary
#9186C8
accent
#4BDD62
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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