#A8A23D#A8A23D

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

Color values

HEX#A8A23D
RGBrgb(168, 162, 61)
HSLhsl(57, 47%, 45%)
HSVhsv(57, 64%, 66%)
CMYKcmyk(0%, 3.6%, 63.7%, 34.1%)
CIE-LABlab(65.36, -10.59, 51.58)
CIE-LCHlch(65.36, 52.65, 101.60°)
OKLaboklab(69.77% -0.0334 0.1172)
OKLCHoklch(69.77% 0.122 105.9)
XYZxyz(29.9121, 34.5034, 9.4982)
Luminance0.3450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A23D #3D43A8
analogous
#A86D3D #A8A23D #78A83D
triadic
#A8A23D #3DA8A2 #A23DA8
tetradic
#A8A23D #3DA86D #3D43A8 #A83D78
square
#A8A23D #3DA86D #3D43A8 #A83D78
split-complementary
#A8A23D #3D78A8 #6D3DA8
monochromatic
#4E4B1C #7B772D #A8A23D #C4BF5E #D5D18B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A23D#FFFFFF#000000##000000
##A8A23D1.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)
#AF9C31
Deuteranopia (green-blind)
#B2A143
Tritanopia (blue-blind)
#B4988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a23d;
/* rgb */ color: rgb(168, 162, 61);
/* oklch */ color: oklch(69.8% 0.122 105.9);
Tailwind
colors: {
  custom: {
    50: '#c5bd77',
    500: '#a8a23d',
    950: '#000000',
  },
}
SCSS
$custom: #a8a23d;
$custom-light: #c5bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a23d",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 56.636,
    "s": 46.725,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69773,
    "c": 0.1219,
    "h": 105.9
  },
  "luminance": 0.34502
}

Semantic roles & 50–950 ramp

primary
#A8A23D
secondary
#8185BF
accent
#59D651
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A23D

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

Preview Lab → · Contrast checker → · Palette generator →

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