#A6BC23#A6BC23

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

Color values

HEX#A6BC23
RGBrgb(166, 188, 35)
HSLhsl(69, 69%, 44%)
HSVhsv(69, 81%, 74%)
CMYKcmyk(11.7%, 0%, 81.4%, 26.3%)
CIE-LABlab(72.36, -25.87, 67.44)
CIE-LCHlch(72.36, 72.24, 110.99°)
OKLaboklab(75.29% -0.0783 0.1465)
OKLCHoklch(75.29% 0.166 118.1)
XYZxyz(34.0133, 44.1951, 8.3285)
Luminance0.4420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BC23 #3923BC
analogous
#BC8523 #A6BC23 #5ABC23
triadic
#A6BC23 #23A6BC #BC23A6
tetradic
#A6BC23 #23BC85 #3923BC #BC235A
square
#A6BC23 #23BC85 #3923BC #BC235A
split-complementary
#A6BC23 #235ABC #8523BC
monochromatic
#4B5510 #788819 #A6BC23 #C5DC41 #D5E574

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6BC23#FFFFFF#000000##000000
##A6BC231.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)
#C7B233
Tritanopia (blue-blind)
#B1B1A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a6bc23;
/* rgb */ color: rgb(166, 188, 35);
/* oklch */ color: oklch(75.3% 0.166 118.1);
Tailwind
colors: {
  custom: {
    50: '#c4d06d',
    500: '#a6bc23',
    950: '#000000',
  },
}
SCSS
$custom: #a6bc23;
$custom-light: #c4d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bc23",
  "rgb": {
    "r": 166,
    "g": 188,
    "b": 35
  },
  "hsl": {
    "h": 68.627,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75289,
    "c": 0.16605,
    "h": 118.1
  },
  "luminance": 0.44195
}

Semantic roles & 50–950 ramp

primary
#A6BC23
secondary
#7C6FCC
accent
#3CEB56
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BC23

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

Preview Lab → · Contrast checker → · Palette generator →

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