#A6BC2B#A6BC2B

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

Color values

HEX#A6BC2B
RGBrgb(166, 188, 43)
HSLhsl(69, 63%, 45%)
HSVhsv(69, 77%, 74%)
CMYKcmyk(11.7%, 0%, 77.1%, 26.3%)
CIE-LABlab(72.39, -25.57, 65.20)
CIE-LCHlch(72.39, 70.03, 111.41°)
OKLaboklab(75.33% -0.0768 0.143)
OKLCHoklch(75.33% 0.162 118.2)
XYZxyz(34.1459, 44.2482, 9.0270)
Luminance0.4425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BC2B #412BBC
analogous
#BC892B #A6BC2B #5EBC2B
triadic
#A6BC2B #2BA6BC #BC2BA6
tetradic
#A6BC2B #2BBC89 #412BBC #BC2B5E
square
#A6BC2B #2BBC89 #412BBC #BC2B5E
split-complementary
#A6BC2B #2B5EBC #892BBC
monochromatic
#4E5814 #7A8A20 #A6BC2B #C2D64E #D3E280

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6BC2B#FFFFFF#000000##000000
##A6BC2B1.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)
#C9B100
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#B0B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bc2b;
/* rgb */ color: rgb(166, 188, 43);
/* oklch */ color: oklch(75.3% 0.162 118.2);
Tailwind
colors: {
  custom: {
    50: '#c4d071',
    500: '#a6bc2b',
    950: '#000000',
  },
}
SCSS
$custom: #a6bc2b;
$custom-light: #c4d071;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bc2b",
  "rgb": {
    "r": 166,
    "g": 188,
    "b": 43
  },
  "hsl": {
    "h": 69.103,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75329,
    "c": 0.16235,
    "h": 118.2
  },
  "luminance": 0.44248
}

Semantic roles & 50–950 ramp

primary
#A6BC2B
secondary
#8578CB
accent
#42E65B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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