#A8A023#A8A023

#A8A023 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.137 H 105.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A8A023
RGBrgb(168, 160, 35)
HSLhsl(56, 66%, 40%)
HSVhsv(56, 79%, 66%)
CMYKcmyk(0%, 4.8%, 79.2%, 34.1%)
CIE-LABlab(64.63, -10.86, 60.68)
CIE-LCHlch(64.63, 61.65, 100.15°)
OKLaboklab(69.14% -0.0368 0.1319)
OKLCHoklch(69.14% 0.137 105.6)
XYZxyz(29.0239, 33.5889, 6.5443)
Luminance0.3359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A023 #232BA8
analogous
#A85E23 #A8A023 #6EA823
triadic
#A8A023 #23A8A0 #A023A8
tetradic
#A8A023 #23A85E #232BA8 #A8236E
square
#A8A023 #23A85E #232BA8 #A8236E
split-complementary
#A8A023 #236EA8 #5E23A8
monochromatic
#43400E #757018 #A8A023 #D5CB34 #DFD866

Accessibility & contrast

On white

2.72
#A8A023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A8A023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A023
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A023#FFFFFF#000000##000000
##A8A0231.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B29F2D
Tritanopia (blue-blind)
#B59589
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a023;
/* rgb */ color: rgb(168, 160, 35);
/* oklch */ color: oklch(69.1% 0.137 105.6);
Tailwind
colors: {
  custom: {
    50: '#c6bb6a',
    500: '#a8a023',
    950: '#000000',
  },
}
SCSS
$custom: #a8a023;
$custom-light: #c6bb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a023",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 56.391,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69141,
    "c": 0.13692,
    "h": 105.6
  },
  "luminance": 0.33588
}

Semantic roles & 50–950 ramp

primary
#A8A023
secondary
#6268C5
accent
#4AE83F
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A8A023

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

Preview Lab → · Contrast checker → · Palette generator →

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