#A8A22F#A8A22F

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

Color values

HEX#A8A22F
RGBrgb(168, 162, 47)
HSLhsl(57, 56%, 42%)
HSVhsv(57, 72%, 66%)
CMYKcmyk(0%, 3.6%, 72%, 34.1%)
CIE-LABlab(65.26, -11.40, 57.16)
CIE-LCHlch(65.26, 58.28, 101.28°)
OKLaboklab(69.66% -0.0372 0.1267)
OKLCHoklch(69.66% 0.132 106.4)
XYZxyz(29.5830, 34.3718, 7.7649)
Luminance0.3437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A22F #2F35A8
analogous
#A8662F #A8A22F #71A82F
triadic
#A8A22F #2FA8A2 #A22FA8
tetradic
#A8A22F #2FA866 #2F35A8 #A82F71
square
#A8A22F #2FA866 #2F35A8 #A82F71
split-complementary
#A8A22F #2F71A8 #662FA8
monochromatic
#484614 #787422 #A8A22F #CCC548 #D9D478

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A22F#FFFFFF#000000##000000
##A8A22F1.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)
#B09C1B
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#B4978C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a22f;
/* rgb */ color: rgb(168, 162, 47);
/* oklch */ color: oklch(69.7% 0.132 106.4);
Tailwind
colors: {
  custom: {
    50: '#c5bd70',
    500: '#a8a22f',
    950: '#000000',
  },
}
SCSS
$custom: #a8a22f;
$custom-light: #c5bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a22f",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 57.025,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69658,
    "c": 0.13201,
    "h": 106.4
  },
  "luminance": 0.34371
}

Semantic roles & 50–950 ramp

primary
#A8A22F
secondary
#7175C1
accent
#50E048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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