#A6BC27#A6BC27

#A6BC27 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.3% C 0.164 H 118.2°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#A6BC27
RGBrgb(166, 188, 39)
HSLhsl(69, 66%, 45%)
HSVhsv(69, 79%, 74%)
CMYKcmyk(11.7%, 0%, 79.3%, 26.3%)
CIE-LABlab(72.38, -25.73, 66.36)
CIE-LCHlch(72.38, 71.18, 111.19°)
OKLaboklab(75.31% -0.0776 0.1448)
OKLCHoklch(75.31% 0.164 118.2)
XYZxyz(34.0761, 44.2202, 8.6593)
Luminance0.4422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BC27 #3D27BC
analogous
#BC8827 #A6BC27 #5CBC27
triadic
#A6BC27 #27A6BC #BC27A6
tetradic
#A6BC27 #27BC88 #3D27BC #BC275C
square
#A6BC27 #27BC88 #3D27BC #BC275C
split-complementary
#A6BC27 #275CBC #8827BC
monochromatic
#4C5712 #79891C #A6BC27 #C3D947 #D4E37A

Accessibility & contrast

On white

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

On black

9.84
#A6BC27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BC27
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BC27#FFFFFF#000000##000000
##A6BC271.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6bc27;
/* rgb */ color: rgb(166, 188, 39);
/* oklch */ color: oklch(75.3% 0.164 118.2);
Tailwind
colors: {
  custom: {
    50: '#c4d06f',
    500: '#a6bc27',
    950: '#000000',
  },
}
SCSS
$custom: #a6bc27;
$custom-light: #c4d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bc27",
  "rgb": {
    "r": 166,
    "g": 188,
    "b": 39
  },
  "hsl": {
    "h": 68.859,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75308,
    "c": 0.1643,
    "h": 118.2
  },
  "luminance": 0.4422
}

Semantic roles & 50–950 ramp

primary
#A6BC27
secondary
#8073CB
accent
#3FE958
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BC27

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

Preview Lab → · Contrast checker → · Palette generator →

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