#A6A023#A6A023

#A6A023 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.137 H 106.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A6A023
RGBrgb(166, 160, 35)
HSLhsl(57, 65%, 39%)
HSVhsv(57, 79%, 65%)
CMYKcmyk(0%, 3.6%, 78.9%, 34.9%)
CIE-LABlab(64.46, -11.75, 60.46)
CIE-LCHlch(64.46, 61.59, 101.00°)
OKLaboklab(68.96% -0.0392 0.1315)
OKLCHoklch(68.96% 0.137 106.6)
XYZxyz(28.6013, 33.3710, 6.5245)
Luminance0.3337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A023 #2329A6
analogous
#A65F23 #A6A023 #6BA623
triadic
#A6A023 #23A6A0 #A023A6
tetradic
#A6A023 #23A65F #2329A6 #A6236B
square
#A6A023 #23A65F #2329A6 #A6236B
split-complementary
#A6A023 #236BA6 #5F23A6
monochromatic
#413F0E #736F18 #A6A023 #D4CC32 #DFD965

Accessibility & contrast

On white

2.74
#A6A023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#A6A023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A023
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A023#FFFFFF#000000##000000
##A6A0231.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#B19E2E
Tritanopia (blue-blind)
#B39589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a6a023;
/* rgb */ color: rgb(166, 160, 35);
/* oklch */ color: oklch(69.0% 0.137 106.6);
Tailwind
colors: {
  custom: {
    50: '#c4bb6a',
    500: '#a6a023',
    950: '#000000',
  },
}
SCSS
$custom: #a6a023;
$custom-light: #c4bb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a023",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 57.252,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6896,
    "c": 0.13721,
    "h": 106.6
  },
  "luminance": 0.3337
}

Semantic roles & 50–950 ramp

primary
#A6A023
secondary
#6165C4
accent
#47E840
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A6A023

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

Preview Lab → · Contrast checker → · Palette generator →

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