#A4B42D#A4B42D

#A4B42D is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.153 H 116.3°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A4B42D
RGBrgb(164, 180, 45)
HSLhsl(67, 60%, 44%)
HSVhsv(67, 75%, 71%)
CMYKcmyk(8.9%, 0%, 75%, 29.4%)
CIE-LABlab(69.98, -22.40, 62.26)
CIE-LCHlch(69.98, 66.17, 109.78°)
OKLaboklab(73.36% -0.0678 0.1372)
OKLCHoklch(73.36% 0.153 116.3)
XYZxyz(32.1056, 40.7250, 8.6515)
Luminance0.4072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B42D #3D2DB4
analogous
#B4812D #A4B42D #61B42D
triadic
#A4B42D #2DA4B4 #B42DA4
tetradic
#A4B42D #2DB481 #3D2DB4 #B42D61
square
#A4B42D #2DB481 #3D2DB4 #B42D61
split-complementary
#A4B42D #2D61B4 #812DB4
monochromatic
#4B5215 #778321 #A4B42D #C2D24C #D3DE7D

Accessibility & contrast

On white

2.30
#A4B42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#A4B42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B42D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B42D#FFFFFF#000000##000000
##A4B42D1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA0D
Deuteranopia (green-blind)
#BFAC39
Tritanopia (blue-blind)
#AFAA9A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a4b42d;
/* rgb */ color: rgb(164, 180, 45);
/* oklch */ color: oklch(73.4% 0.153 116.3);
Tailwind
colors: {
  custom: {
    50: '#c2ca71',
    500: '#a4b42d',
    950: '#000000',
  },
}
SCSS
$custom: #a4b42d;
$custom-light: #c2ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b42d",
  "rgb": {
    "r": 164,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 67.111,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73357,
    "c": 0.15308,
    "h": 116.3
  },
  "luminance": 0.40724
}

Semantic roles & 50–950 ramp

primary
#A4B42D
secondary
#7F76C7
accent
#45E357
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B42D

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

Preview Lab → · Contrast checker → · Palette generator →

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