#A4B317#A4B317

#A4B317 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.161 H 115.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A4B317
RGBrgb(164, 179, 23)
HSLhsl(66, 77%, 40%)
HSVhsv(66, 87%, 70%)
CMYKcmyk(8.4%, 0%, 87.2%, 29.8%)
CIE-LABlab(69.61, -22.67, 67.84)
CIE-LCHlch(69.61, 71.53, 108.48°)
OKLaboklab(73.03% -0.0701 0.1455)
OKLCHoklch(73.03% 0.161 115.7)
XYZxyz(31.5856, 40.1951, 6.9050)
Luminance0.4019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B317 #2617B3
analogous
#B37417 #A4B317 #56B317
triadic
#A4B317 #17A4B3 #B317A4
tetradic
#A4B317 #17B374 #2617B3 #B31756
square
#A4B317 #17B374 #2617B3 #B31756
split-complementary
#A4B317 #1756B3 #7417B3
monochromatic
#414709 #727D10 #A4B317 #D1E324 #DCEA5B

Accessibility & contrast

On white

2.32
#A4B317 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#A4B317 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B317
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B317#FFFFFF#000000##000000
##A4B3171.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2A
Tritanopia (blue-blind)
#AFA898
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a4b317;
/* rgb */ color: rgb(164, 179, 23);
/* oklch */ color: oklch(73.0% 0.161 115.7);
Tailwind
colors: {
  custom: {
    50: '#c3c968',
    500: '#a4b317',
    950: '#000000',
  },
}
SCSS
$custom: #a4b317;
$custom-light: #c3c968;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b317",
  "rgb": {
    "r": 164,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 65.769,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.73027,
    "c": 0.16148,
    "h": 115.7
  },
  "luminance": 0.40195
}

Semantic roles & 50–950 ramp

primary
#A4B317
secondary
#6458CD
accent
#34F446
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B317

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

Preview Lab → · Contrast checker → · Palette generator →

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