#A4B31B#A4B31B

#A4B31B 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#A4B31B
RGBrgb(164, 179, 27)
HSLhsl(66, 74%, 40%)
HSVhsv(66, 85%, 70%)
CMYKcmyk(8.4%, 0%, 84.9%, 29.8%)
CIE-LABlab(69.62, -22.57, 67.00)
CIE-LCHlch(69.62, 70.70, 108.62°)
OKLaboklab(73.04% -0.0696 0.1443)
OKLCHoklch(73.04% 0.16 115.8)
XYZxyz(31.6287, 40.2124, 7.1323)
Luminance0.4021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B31B #2A1BB3
analogous
#B3761B #A4B31B #58B31B
triadic
#A4B31B #1BA4B3 #B31BA4
tetradic
#A4B31B #1BB376 #2A1BB3 #B31B58
square
#A4B31B #1BB376 #2A1BB3 #B31B58
split-complementary
#A4B31B #1B58B3 #761BB3
monochromatic
#43490B #737E13 #A4B31B #CDDF2C #DAE761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a4b31b;
/* rgb */ color: rgb(164, 179, 27);
/* oklch */ color: oklch(73.0% 0.160 115.8);
Tailwind
colors: {
  custom: {
    50: '#c3c969',
    500: '#a4b31b',
    950: '#000000',
  },
}
SCSS
$custom: #a4b31b;
$custom-light: #c3c969;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b31b",
  "rgb": {
    "r": 164,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 65.921,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.73041,
    "c": 0.16016,
    "h": 115.8
  },
  "luminance": 0.40212
}

Semantic roles & 50–950 ramp

primary
#A4B31B
secondary
#695ECC
accent
#37F04A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B31B

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

Preview Lab → · Contrast checker → · Palette generator →

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