#A6B023#A6B023

#A6B023 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.6% C 0.153 H 113.9°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#A6B023
RGBrgb(166, 176, 35)
HSLhsl(64, 67%, 41%)
HSVhsv(64, 80%, 69%)
CMYKcmyk(5.7%, 0%, 80.1%, 31%)
CIE-LABlab(68.95, -19.96, 64.45)
CIE-LCHlch(68.95, 67.47, 107.21°)
OKLaboklab(72.55% -0.062 0.14)
OKLCHoklch(72.55% 0.153 113.9)
XYZxyz(31.5556, 39.2797, 7.5092)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B023 #2D23B0
analogous
#B07423 #A6B023 #60B023
triadic
#A6B023 #23A6B0 #B023A6
tetradic
#A6B023 #23B074 #2D23B0 #B02360
square
#A6B023 #23B074 #2D23B0 #B02360
split-complementary
#A6B023 #2360B0 #7423B0
monochromatic
#464A0F #767D19 #A6B023 #CCD839 #D9E26C

Accessibility & contrast

On white

2.37
#A6B023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#A6B023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B023
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B023#FFFFFF#000000##000000
##A6B0231.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDAA31
Tritanopia (blue-blind)
#B2A596
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a6b023;
/* rgb */ color: rgb(166, 176, 35);
/* oklch */ color: oklch(72.6% 0.153 113.9);
Tailwind
colors: {
  custom: {
    50: '#c4c76c',
    500: '#a6b023',
    950: '#000000',
  },
}
SCSS
$custom: #a6b023;
$custom-light: #c4c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b023",
  "rgb": {
    "r": 166,
    "g": 176,
    "b": 35
  },
  "hsl": {
    "h": 64.255,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72553,
    "c": 0.15315,
    "h": 113.9
  },
  "luminance": 0.39279
}

Semantic roles & 50–950 ramp

primary
#A6B023
secondary
#6E67C8
accent
#3EEA4A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A6B023

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

Preview Lab → · Contrast checker → · Palette generator →

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