#A4B318#A4B318

#A4B318 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#A4B318
RGBrgb(164, 179, 24)
HSLhsl(66, 76%, 40%)
HSVhsv(66, 87%, 70%)
CMYKcmyk(8.4%, 0%, 86.6%, 29.8%)
CIE-LABlab(69.61, -22.65, 67.64)
CIE-LCHlch(69.61, 71.33, 108.51°)
OKLaboklab(73.03% -0.07 0.1452)
OKLCHoklch(73.03% 0.161 115.7)
XYZxyz(31.5958, 40.1992, 6.9588)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B318 #2718B3
analogous
#B37418 #A4B318 #57B318
triadic
#A4B318 #18A4B3 #B318A4
tetradic
#A4B318 #18B374 #2718B3 #B31857
square
#A4B318 #18B374 #2718B3 #B31857
split-complementary
#A4B318 #1857B3 #7418B3
monochromatic
#41470A #737D11 #A4B318 #D0E226 #DCE95C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4B318#FFFFFF#000000##000000
##A4B3181.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)
#BFAB2B
Tritanopia (blue-blind)
#AFA898
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a4b318;
/* rgb */ color: rgb(164, 179, 24);
/* oklch */ color: oklch(73.0% 0.161 115.7);
Tailwind
colors: {
  custom: {
    50: '#c3c968',
    500: '#a4b318',
    950: '#000000',
  },
}
SCSS
$custom: #a4b318;
$custom-light: #c3c968;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b318",
  "rgb": {
    "r": 164,
    "g": 179,
    "b": 24
  },
  "hsl": {
    "h": 65.806,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.7303,
    "c": 0.16117,
    "h": 115.7
  },
  "luminance": 0.40199
}

Semantic roles & 50–950 ramp

primary
#A4B318
secondary
#655ACD
accent
#35F347
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B318

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

Preview Lab → · Contrast checker → · Palette generator →

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