#A6BC2E#A6BC2E

#A6BC2E is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.3% C 0.161 H 118.3°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#A6BC2E
RGBrgb(166, 188, 46)
HSLhsl(69, 61%, 46%)
HSVhsv(69, 76%, 74%)
CMYKcmyk(11.7%, 0%, 75.5%, 26.3%)
CIE-LABlab(72.41, -25.43, 64.26)
CIE-LCHlch(72.41, 69.11, 111.59°)
OKLaboklab(75.35% -0.0762 0.1416)
OKLCHoklch(75.35% 0.161 118.3)
XYZxyz(34.2030, 44.2710, 9.3276)
Luminance0.4427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BC2E #442EBC
analogous
#BC8B2E #A6BC2E #5FBC2E
triadic
#A6BC2E #2EA6BC #BC2EA6
tetradic
#A6BC2E #2EBC8B #442EBC #BC2E5F
square
#A6BC2E #2EBC8B #442EBC #BC2E5F
split-complementary
#A6BC2E #2E5FBC #8B2EBC
monochromatic
#4F5A16 #7B8B22 #A6BC2E #C1D552 #D2E184

Accessibility & contrast

On white

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

On black

9.85
#A6BC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BC2E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BC2E#FFFFFF#000000##000000
##A6BC2E1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B10A
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#B0B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bc2e;
/* rgb */ color: rgb(166, 188, 46);
/* oklch */ color: oklch(75.3% 0.161 118.3);
Tailwind
colors: {
  custom: {
    50: '#c4d072',
    500: '#a6bc2e',
    950: '#000000',
  },
}
SCSS
$custom: #a6bc2e;
$custom-light: #c4d072;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bc2e",
  "rgb": {
    "r": 166,
    "g": 188,
    "b": 46
  },
  "hsl": {
    "h": 69.296,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75346,
    "c": 0.16078,
    "h": 118.3
  },
  "luminance": 0.44271
}

Semantic roles & 50–950 ramp

primary
#A6BC2E
secondary
#887CCA
accent
#44E45D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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