#A8AC23#A8AC23

#A8AC23 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.8% C 0.148 H 111.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#A8AC23
RGBrgb(168, 172, 35)
HSLhsl(62, 66%, 41%)
HSVhsv(62, 80%, 67%)
CMYKcmyk(2.3%, 0%, 79.7%, 32.5%)
CIE-LABlab(67.99, -17.07, 63.66)
CIE-LCHlch(67.99, 65.91, 105.01°)
OKLaboklab(71.82% -0.0541 0.1383)
OKLCHoklch(71.82% 0.148 111.4)
XYZxyz(31.2055, 37.9521, 7.2715)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AC23 #2723AC
analogous
#AC6B23 #A8AC23 #63AC23
triadic
#A8AC23 #23A8AC #AC23A8
tetradic
#A8AC23 #23AC6B #2723AC #AC2363
square
#A8AC23 #23AC6B #2723AC #AC2363
split-complementary
#A8AC23 #2363AC #6B23AC
monochromatic
#45460E #767919 #A8AC23 #D1D636 #DDE069

Accessibility & contrast

On white

2.44
#A8AC23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#A8AC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AC23
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AC23#FFFFFF#000000##000000
##A8AC231.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BBA730
Tritanopia (blue-blind)
#B4A193
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a8ac23;
/* rgb */ color: rgb(168, 172, 35);
/* oklch */ color: oklch(71.8% 0.148 111.4);
Tailwind
colors: {
  custom: {
    50: '#c6c46b',
    500: '#a8ac23',
    950: '#000000',
  },
}
SCSS
$custom: #a8ac23;
$custom-light: #c6c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ac23",
  "rgb": {
    "r": 168,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 61.752,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71816,
    "c": 0.14847,
    "h": 111.4
  },
  "luminance": 0.37951
}

Semantic roles & 50–950 ramp

primary
#A8AC23
secondary
#6764C6
accent
#3FE944
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8AC23

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

Preview Lab → · Contrast checker → · Palette generator →

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