#A8A23C#A8A23C

#A8A23C is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.8% C 0.123 H 105.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A8A23C
RGBrgb(168, 162, 60)
HSLhsl(57, 47%, 45%)
HSVhsv(57, 64%, 66%)
CMYKcmyk(0%, 3.6%, 64.3%, 34.1%)
CIE-LABlab(65.35, -10.66, 52.00)
CIE-LCHlch(65.35, 53.08, 101.58°)
OKLaboklab(69.76% -0.0337 0.118)
OKLCHoklch(69.76% 0.123 105.9)
XYZxyz(29.8855, 34.4928, 9.3576)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A23C #3C42A8
analogous
#A86C3C #A8A23C #78A83C
triadic
#A8A23C #3CA8A2 #A23CA8
tetradic
#A8A23C #3CA86C #3C42A8 #A83C78
square
#A8A23C #3CA86C #3C42A8 #A83C78
split-complementary
#A8A23C #3C78A8 #6C3CA8
monochromatic
#4E4B1C #7B772C #A8A23C #C5BF5C #D5D189

Accessibility & contrast

On white

2.66
#A8A23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A8A23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A23C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A23C#FFFFFF#000000##000000
##A8A23C1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2F
Deuteranopia (green-blind)
#B2A142
Tritanopia (blue-blind)
#B4988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a23c;
/* rgb */ color: rgb(168, 162, 60);
/* oklch */ color: oklch(69.8% 0.123 105.9);
Tailwind
colors: {
  custom: {
    50: '#c5bd77',
    500: '#a8a23c',
    950: '#000000',
  },
}
SCSS
$custom: #a8a23c;
$custom-light: #c5bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a23c",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 56.667,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69764,
    "c": 0.12269,
    "h": 105.9
  },
  "luminance": 0.34492
}

Semantic roles & 50–950 ramp

primary
#A8A23C
secondary
#8084BF
accent
#58D751
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A23C

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

Preview Lab → · Contrast checker → · Palette generator →

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