#A8A22D#A8A22D

#A8A22D is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.133 H 106.4°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#A8A22D
RGBrgb(168, 162, 45)
HSLhsl(57, 58%, 42%)
HSVhsv(57, 73%, 66%)
CMYKcmyk(0%, 3.6%, 73.2%, 34.1%)
CIE-LABlab(65.24, -11.49, 57.88)
CIE-LCHlch(65.24, 59.01, 101.23°)
OKLaboklab(69.64% -0.0377 0.1278)
OKLCHoklch(69.64% 0.133 106.4)
XYZxyz(29.5436, 34.3560, 7.5573)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A22D #2D33A8
analogous
#A8652D #A8A22D #71A82D
triadic
#A8A22D #2DA8A2 #A22DA8
tetradic
#A8A22D #2DA865 #2D33A8 #A82D71
square
#A8A22D #2DA865 #2D33A8 #A82D71
split-complementary
#A8A22D #2D71A8 #652DA8
monochromatic
#474513 #787320 #A8A22D #CDC745 #DAD575

Accessibility & contrast

On white

2.67
#A8A22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#A8A22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A22D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A22D#FFFFFF#000000##000000
##A8A22D1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C17
Deuteranopia (green-blind)
#B3A036
Tritanopia (blue-blind)
#B4978B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a22d;
/* rgb */ color: rgb(168, 162, 45);
/* oklch */ color: oklch(69.6% 0.133 106.4);
Tailwind
colors: {
  custom: {
    50: '#c5bd6f',
    500: '#a8a22d',
    950: '#000000',
  },
}
SCSS
$custom: #a8a22d;
$custom-light: #c5bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a22d",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 57.073,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69644,
    "c": 0.13325,
    "h": 106.4
  },
  "luminance": 0.34355
}

Semantic roles & 50–950 ramp

primary
#A8A22D
secondary
#6F73C2
accent
#4EE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A22D

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

Preview Lab → · Contrast checker → · Palette generator →

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