#A4A22B#A4A22B

#A4A22B is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.135 H 108.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A4A22B
RGBrgb(164, 162, 43)
HSLhsl(59, 58%, 41%)
HSVhsv(59, 74%, 64%)
CMYKcmyk(0%, 1.2%, 73.8%, 35.7%)
CIE-LABlab(64.89, -13.35, 58.14)
CIE-LCHlch(64.89, 59.66, 102.93°)
OKLaboklab(69.27% -0.0428 0.1281)
OKLCHoklch(69.27% 0.135 108.5)
XYZxyz(28.6673, 33.9085, 7.3199)
Luminance0.3391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A22B #2B2DA4
analogous
#A4652B #A4A22B #69A42B
triadic
#A4A22B #2BA4A2 #A22BA4
tetradic
#A4A22B #2BA465 #2B2DA4 #A42B69
square
#A4A22B #2BA465 #2B2DA4 #A42B69
split-complementary
#A4A22B #2B69A4 #652BA4
monochromatic
#434212 #74721E #A4A22B #CDCA3F #D9D870

Accessibility & contrast

On white

2.70
#A4A22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#A4A22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A22B
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A22B#FFFFFF#000000##000000
##A4A22B1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B13
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#B0978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a4a22b;
/* rgb */ color: rgb(164, 162, 43);
/* oklch */ color: oklch(69.3% 0.135 108.5);
Tailwind
colors: {
  custom: {
    50: '#c2bd6d',
    500: '#a4a22b',
    950: '#000000',
  },
}
SCSS
$custom: #a4a22b;
$custom-light: #c2bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a22b",
  "rgb": {
    "r": 164,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 59.008,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69274,
    "c": 0.13512,
    "h": 108.5
  },
  "luminance": 0.33908
}

Semantic roles & 50–950 ramp

primary
#A4A22B
secondary
#6A6CC1
accent
#49E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A4A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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