#A4B31C#A4B31C

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

Color values

HEX#A4B31C
RGBrgb(164, 179, 28)
HSLhsl(66, 73%, 41%)
HSVhsv(66, 84%, 70%)
CMYKcmyk(8.4%, 0%, 84.4%, 29.8%)
CIE-LABlab(69.62, -22.54, 66.77)
CIE-LCHlch(69.62, 70.47, 108.65°)
OKLaboklab(73.04% -0.0695 0.1439)
OKLCHoklch(73.04% 0.16 115.8)
XYZxyz(31.6405, 40.2171, 7.1943)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B31C #2B1CB3
analogous
#B3761C #A4B31C #59B31C
triadic
#A4B31C #1CA4B3 #B31CA4
tetradic
#A4B31C #1CB376 #2B1CB3 #B31C59
square
#A4B31C #1CB376 #2B1CB3 #B31C59
split-complementary
#A4B31C #1C59B3 #761CB3
monochromatic
#43490B #747E14 #A4B31C #CDDE2E #D9E763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4B31C#FFFFFF#000000##000000
##A4B31C1.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)
#BFAB2D
Tritanopia (blue-blind)
#AFA899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a4b31c;
/* rgb */ color: rgb(164, 179, 28);
/* oklch */ color: oklch(73.0% 0.160 115.8);
Tailwind
colors: {
  custom: {
    50: '#c3c969',
    500: '#a4b31c',
    950: '#000000',
  },
}
SCSS
$custom: #a4b31c;
$custom-light: #c3c969;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b31c",
  "rgb": {
    "r": 164,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 65.96,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.73044,
    "c": 0.15981,
    "h": 115.8
  },
  "luminance": 0.40217
}

Semantic roles & 50–950 ramp

primary
#A4B31C
secondary
#6A5FCB
accent
#38F04A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B31C

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

Preview Lab → · Contrast checker → · Palette generator →

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