#A6BD23#A6BD23

#A6BD23 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.5% C 0.167 H 118.4°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#A6BD23
RGBrgb(166, 189, 35)
HSLhsl(69, 69%, 44%)
HSVhsv(69, 81%, 74%)
CMYKcmyk(12.2%, 0%, 81.5%, 25.9%)
CIE-LABlab(72.64, -26.36, 67.69)
CIE-LCHlch(72.64, 72.64, 111.27°)
OKLaboklab(75.52% -0.0796 0.147)
OKLCHoklch(75.52% 0.167 118.4)
XYZxyz(34.2277, 44.6238, 8.3999)
Luminance0.4462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BD23 #3A23BD
analogous
#BD8723 #A6BD23 #59BD23
triadic
#A6BD23 #23A6BD #BD23A6
tetradic
#A6BD23 #23BD87 #3A23BD #BD2359
square
#A6BD23 #23BD87 #3A23BD #BD2359
split-complementary
#A6BD23 #2359BD #8723BD
monochromatic
#4B5610 #798919 #A6BD23 #C5DC41 #D5E575

Accessibility & contrast

On white

2.12
#A6BD23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#A6BD23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BD23
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BD23#FFFFFF#000000##000000
##A6BD231.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C7B333
Tritanopia (blue-blind)
#B0B2A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a6bd23;
/* rgb */ color: rgb(166, 189, 35);
/* oklch */ color: oklch(75.5% 0.167 118.4);
Tailwind
colors: {
  custom: {
    50: '#c4d06d',
    500: '#a6bd23',
    950: '#000000',
  },
}
SCSS
$custom: #a6bd23;
$custom-light: #c4d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bd23",
  "rgb": {
    "r": 166,
    "g": 189,
    "b": 35
  },
  "hsl": {
    "h": 68.961,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.75519,
    "c": 0.16715,
    "h": 118.4
  },
  "luminance": 0.44624
}

Semantic roles & 50–950 ramp

primary
#A6BD23
secondary
#7D6FCD
accent
#3CEC56
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A6BD23

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

Preview Lab → · Contrast checker → · Palette generator →

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