#A8A23E#A8A23E

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

Color values

HEX#A8A23E
RGBrgb(168, 162, 62)
HSLhsl(57, 46%, 45%)
HSVhsv(57, 63%, 66%)
CMYKcmyk(0%, 3.6%, 63.1%, 34.1%)
CIE-LABlab(65.37, -10.52, 51.15)
CIE-LCHlch(65.37, 52.22, 101.63°)
OKLaboklab(69.78% -0.0331 0.1165)
OKLCHoklch(69.78% 0.121 105.9)
XYZxyz(29.9393, 34.5143, 9.6413)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A23E #3E44A8
analogous
#A86D3E #A8A23E #79A83E
triadic
#A8A23E #3EA8A2 #A23EA8
tetradic
#A8A23E #3EA86D #3E44A8 #A83E79
square
#A8A23E #3EA86D #3E44A8 #A83E79
split-complementary
#A8A23E #3E79A8 #6D3EA8
monochromatic
#4F4C1D #7B772E #A8A23E #C4BE5F #D5D08C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A23E#FFFFFF#000000##000000
##A8A23E1.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)
#AF9C32
Deuteranopia (green-blind)
#B2A144
Tritanopia (blue-blind)
#B4988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a23e;
/* rgb */ color: rgb(168, 162, 62);
/* oklch */ color: oklch(69.8% 0.121 105.9);
Tailwind
colors: {
  custom: {
    50: '#c5bd78',
    500: '#a8a23e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a23e;
$custom-light: #c5bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a23e",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 56.604,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69783,
    "c": 0.12108,
    "h": 105.9
  },
  "luminance": 0.34513
}

Semantic roles & 50–950 ramp

primary
#A8A23E
secondary
#8386BF
accent
#5AD652
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A23E

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

Preview Lab → · Contrast checker → · Palette generator →

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