#A4B417#A4B417

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

Color values

HEX#A4B417
RGBrgb(164, 180, 23)
HSLhsl(66, 77%, 40%)
HSVhsv(66, 87%, 71%)
CMYKcmyk(8.9%, 0%, 87.2%, 29.4%)
CIE-LABlab(69.89, -23.17, 68.08)
CIE-LCHlch(69.89, 71.91, 108.79°)
OKLaboklab(73.26% -0.0715 0.146)
OKLCHoklch(73.26% 0.163 116.1)
XYZxyz(31.7867, 40.5974, 6.9720)
Luminance0.4060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B417 #2717B4
analogous
#B47617 #A4B417 #55B417
triadic
#A4B417 #17A4B4 #B417A4
tetradic
#A4B417 #17B476 #2717B4 #B41755
square
#A4B417 #17B476 #2717B4 #B41755
split-complementary
#A4B417 #1755B4 #7617B4
monochromatic
#414709 #737E10 #A4B417 #D0E325 #DCEA5B

Accessibility & contrast

On white

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

On black

9.12
#A4B417 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B417
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B417#FFFFFF#000000##000000
##A4B4171.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4b417;
/* rgb */ color: rgb(164, 180, 23);
/* oklch */ color: oklch(73.3% 0.163 116.1);
Tailwind
colors: {
  custom: {
    50: '#c3ca68',
    500: '#a4b417',
    950: '#000000',
  },
}
SCSS
$custom: #a4b417;
$custom-light: #c3ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b417",
  "rgb": {
    "r": 164,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 66.115,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.16253,
    "h": 116.1
  },
  "luminance": 0.40597
}

Semantic roles & 50–950 ramp

primary
#A4B417
secondary
#6559CE
accent
#34F447
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B417

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

Preview Lab → · Contrast checker → · Palette generator →

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