#A4B122#A4B122

#A4B122 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.6% C 0.155 H 115.1°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#A4B122
RGBrgb(164, 177, 34)
HSLhsl(65, 68%, 41%)
HSVhsv(65, 81%, 69%)
CMYKcmyk(7.3%, 0%, 80.8%, 30.6%)
CIE-LABlab(69.08, -21.36, 64.78)
CIE-LCHlch(69.08, 68.21, 108.25°)
OKLaboklab(72.61% -0.0658 0.1407)
OKLCHoklch(72.61% 0.155 115.1)
XYZxyz(31.3217, 39.4529, 7.4782)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B122 #2F22B1
analogous
#B17722 #A4B122 #5CB122
triadic
#A4B122 #22A4B1 #B122A4
tetradic
#A4B122 #22B177 #2F22B1 #B1225C
square
#A4B122 #22B177 #2F22B1 #B1225C
split-complementary
#A4B122 #225CB1 #7722B1
monochromatic
#454A0E #747E18 #A4B122 #CAD938 #D8E36B

Accessibility & contrast

On white

2.36
#A4B122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#A4B122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B122
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B122#FFFFFF#000000##000000
##A4B1221.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BDAA30
Tritanopia (blue-blind)
#AFA697
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a4b122;
/* rgb */ color: rgb(164, 177, 34);
/* oklch */ color: oklch(72.6% 0.155 115.1);
Tailwind
colors: {
  custom: {
    50: '#c3c86b',
    500: '#a4b122',
    950: '#000000',
  },
}
SCSS
$custom: #a4b122;
$custom-light: #c3c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b122",
  "rgb": {
    "r": 164,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 65.455,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72613,
    "c": 0.15528,
    "h": 115.1
  },
  "luminance": 0.39452
}

Semantic roles & 50–950 ramp

primary
#A4B122
secondary
#6F66C9
accent
#3DEB4D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B122

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

Preview Lab → · Contrast checker → · Palette generator →

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