#A8A22B#A8A22B

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

Color values

HEX#A8A22B
RGBrgb(168, 162, 43)
HSLhsl(57, 59%, 41%)
HSVhsv(57, 74%, 66%)
CMYKcmyk(0%, 3.6%, 74.4%, 34.1%)
CIE-LABlab(65.23, -11.59, 58.59)
CIE-LCHlch(65.23, 59.72, 101.19°)
OKLaboklab(69.63% -0.0381 0.1289)
OKLCHoklch(69.63% 0.134 106.5)
XYZxyz(29.5060, 34.3410, 7.3593)
Luminance0.3434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A22B #2B31A8
analogous
#A8642B #A8A22B #70A82B
triadic
#A8A22B #2BA8A2 #A22BA8
tetradic
#A8A22B #2BA864 #2B31A8 #A82B70
square
#A8A22B #2BA864 #2B31A8 #A82B70
split-complementary
#A8A22B #2B70A8 #642BA8
monochromatic
#474412 #77731F #A8A22B #CFC842 #DBD672

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A22B#FFFFFF#000000##000000
##A8A22B1.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)
#B09C13
Deuteranopia (green-blind)
#B3A034
Tritanopia (blue-blind)
#B5978B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a22b;
/* rgb */ color: rgb(168, 162, 43);
/* oklch */ color: oklch(69.6% 0.134 106.5);
Tailwind
colors: {
  custom: {
    50: '#c5bd6e',
    500: '#a8a22b',
    950: '#000000',
  },
}
SCSS
$custom: #a8a22b;
$custom-light: #c5bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a22b",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 57.12,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69631,
    "c": 0.13446,
    "h": 106.5
  },
  "luminance": 0.3434
}

Semantic roles & 50–950 ramp

primary
#A8A22B
secondary
#6C71C2
accent
#4DE245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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