#A7A22E#A7A22E

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

Color values

HEX#A7A22E
RGBrgb(167, 162, 46)
HSLhsl(58, 57%, 42%)
HSVhsv(58, 72%, 65%)
CMYKcmyk(0%, 3%, 72.5%, 34.5%)
CIE-LABlab(65.16, -11.89, 57.41)
CIE-LCHlch(65.16, 58.63, 101.70°)
OKLaboklab(69.56% -0.0386 0.127)
OKLCHoklch(69.56% 0.133 106.9)
XYZxyz(29.3510, 34.2544, 7.6499)
Luminance0.3425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A22E #2E33A7
analogous
#A7662E #A7A22E #70A72E
triadic
#A7A22E #2EA7A2 #A22EA7
tetradic
#A7A22E #2EA766 #2E33A7 #A72E70
square
#A7A22E #2EA766 #2E33A7 #A72E70
split-complementary
#A7A22E #2E70A7 #662EA7
monochromatic
#474514 #777321 #A7A22E #CCC746 #D9D576

Accessibility & contrast

On white

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

On black

7.85
#A7A22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A22E
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A22E#FFFFFF#000000##000000
##A7A22E1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C19
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#B3978B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a7a22e;
/* rgb */ color: rgb(167, 162, 46);
/* oklch */ color: oklch(69.6% 0.133 106.9);
Tailwind
colors: {
  custom: {
    50: '#c5bd6f',
    500: '#a7a22e',
    950: '#000000',
  },
}
SCSS
$custom: #a7a22e;
$custom-light: #c5bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a22e",
  "rgb": {
    "r": 167,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 57.521,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69561,
    "c": 0.13278,
    "h": 106.9
  },
  "luminance": 0.34253
}

Semantic roles & 50–950 ramp

primary
#A7A22E
secondary
#7073C1
accent
#4EE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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