#A4B41F#A4B41F

#A4B41F is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.160 H 116.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#A4B41F
RGBrgb(164, 180, 31)
HSLhsl(66, 71%, 41%)
HSVhsv(66, 83%, 71%)
CMYKcmyk(8.9%, 0%, 82.8%, 29.4%)
CIE-LABlab(69.92, -22.94, 66.30)
CIE-LCHlch(69.92, 70.16, 109.09°)
OKLaboklab(73.29% -0.0704 0.1434)
OKLCHoklch(73.29% 0.16 116.1)
XYZxyz(31.8793, 40.6344, 7.4599)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B41F #2F1FB4
analogous
#B47A1F #A4B41F #5AB41F
triadic
#A4B41F #1FA4B4 #B41FA4
tetradic
#A4B41F #1FB47A #2F1FB4 #B41F5A
square
#A4B41F #1FB47A #2F1FB4 #B41F5A
split-complementary
#A4B41F #1F5AB4 #7A1FB4
monochromatic
#454C0D #748016 #A4B41F #CADC34 #D8E568

Accessibility & contrast

On white

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

On black

9.13
#A4B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B41F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B41F#FFFFFF#000000##000000
##A4B41F1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC2F
Tritanopia (blue-blind)
#AFA99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a4b41f;
/* rgb */ color: rgb(164, 180, 31);
/* oklch */ color: oklch(73.3% 0.160 116.1);
Tailwind
colors: {
  custom: {
    50: '#c3ca6b',
    500: '#a4b41f',
    950: '#000000',
  },
}
SCSS
$custom: #a4b41f;
$custom-light: #c3ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b41f",
  "rgb": {
    "r": 164,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 66.443,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.73285,
    "c": 0.15973,
    "h": 116.1
  },
  "luminance": 0.40634
}

Semantic roles & 50–950 ramp

primary
#A4B41F
secondary
#6F64CB
accent
#3AED4E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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