#A8A22E#A8A22E

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

Color values

HEX#A8A22E
RGBrgb(168, 162, 46)
HSLhsl(57, 57%, 42%)
HSVhsv(57, 73%, 66%)
CMYKcmyk(0%, 3.6%, 72.6%, 34.1%)
CIE-LABlab(65.25, -11.45, 57.52)
CIE-LCHlch(65.25, 58.65, 101.25°)
OKLaboklab(69.65% -0.0374 0.1273)
OKLCHoklch(69.65% 0.133 106.4)
XYZxyz(29.5631, 34.3638, 7.6599)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A22E #2E34A8
analogous
#A8652E #A8A22E #71A82E
triadic
#A8A22E #2EA8A2 #A22EA8
tetradic
#A8A22E #2EA865 #2E34A8 #A82E71
square
#A8A22E #2EA865 #2E34A8 #A82E71
split-complementary
#A8A22E #2E71A8 #652EA8
monochromatic
#484514 #787421 #A8A22E #CDC647 #DAD577

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A22E#FFFFFF#000000##000000
##A8A22E1.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)
#B09C19
Deuteranopia (green-blind)
#B3A036
Tritanopia (blue-blind)
#B4978B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a22e;
/* rgb */ color: rgb(168, 162, 46);
/* oklch */ color: oklch(69.7% 0.133 106.4);
Tailwind
colors: {
  custom: {
    50: '#c5bd6f',
    500: '#a8a22e',
    950: '#000000',
  },
}
SCSS
$custom: #a8a22e;
$custom-light: #c5bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a22e",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 57.049,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69651,
    "c": 0.13264,
    "h": 106.4
  },
  "luminance": 0.34363
}

Semantic roles & 50–950 ramp

primary
#A8A22E
secondary
#7074C2
accent
#4FE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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