#A6BB27#A6BB27

#A6BB27 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.1% C 0.163 H 117.9°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#A6BB27
RGBrgb(166, 187, 39)
HSLhsl(69, 65%, 44%)
HSVhsv(69, 79%, 73%)
CMYKcmyk(11.2%, 0%, 79.1%, 26.7%)
CIE-LABlab(72.09, -25.24, 66.11)
CIE-LCHlch(72.09, 70.76, 110.90°)
OKLaboklab(75.08% -0.0762 0.1443)
OKLCHoklch(75.08% 0.163 117.9)
XYZxyz(33.8633, 43.7945, 8.5883)
Luminance0.4379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BB27 #3C27BB
analogous
#BB8627 #A6BB27 #5CBB27
triadic
#A6BB27 #27A6BB #BB27A6
tetradic
#A6BB27 #27BB86 #3C27BB #BB275C
square
#A6BB27 #27BB86 #3C27BB #BB275C
split-complementary
#A6BB27 #275CBB #8627BB
monochromatic
#4C5612 #79881C #A6BB27 #C4D947 #D4E379

Accessibility & contrast

On white

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

On black

9.76
#A6BB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BB27
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BB27#FFFFFF#000000##000000
##A6BB271.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C6B136
Tritanopia (blue-blind)
#B1B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a6bb27;
/* rgb */ color: rgb(166, 187, 39);
/* oklch */ color: oklch(75.1% 0.163 117.9);
Tailwind
colors: {
  custom: {
    50: '#c4cf6f',
    500: '#a6bb27',
    950: '#000000',
  },
}
SCSS
$custom: #a6bb27;
$custom-light: #c4cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bb27",
  "rgb": {
    "r": 166,
    "g": 187,
    "b": 39
  },
  "hsl": {
    "h": 68.514,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75079,
    "c": 0.16318,
    "h": 117.9
  },
  "luminance": 0.43794
}

Semantic roles & 50–950 ramp

primary
#A6BB27
secondary
#7F73CB
accent
#3FE857
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BB27

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

Preview Lab → · Contrast checker → · Palette generator →

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