#A4B31E#A4B31E

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

Color values

HEX#A4B31E
RGBrgb(164, 179, 30)
HSLhsl(66, 71%, 41%)
HSVhsv(66, 83%, 70%)
CMYKcmyk(8.4%, 0%, 83.2%, 29.8%)
CIE-LABlab(69.63, -22.48, 66.30)
CIE-LCHlch(69.63, 70.01, 108.73°)
OKLaboklab(73.05% -0.0692 0.1432)
OKLCHoklch(73.05% 0.159 115.8)
XYZxyz(31.6652, 40.2270, 7.3245)
Luminance0.4023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B31E #2D1EB3
analogous
#B3771E #A4B31E #59B31E
triadic
#A4B31E #1EA4B3 #B31EA4
tetradic
#A4B31E #1EB377 #2D1EB3 #B31E59
square
#A4B31E #1EB377 #2D1EB3 #B31E59
split-complementary
#A4B31E #1E59B3 #771EB3
monochromatic
#444A0C #747F15 #A4B31E #CBDD32 #D9E566

Accessibility & contrast

On white

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

On black

9.05
#A4B31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B31E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B31E#FFFFFF#000000##000000
##A4B31E1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4b31e;
/* rgb */ color: rgb(164, 179, 30);
/* oklch */ color: oklch(73.1% 0.159 115.8);
Tailwind
colors: {
  custom: {
    50: '#c3c96a',
    500: '#a4b31e',
    950: '#000000',
  },
}
SCSS
$custom: #a4b31e;
$custom-light: #c3c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b31e",
  "rgb": {
    "r": 164,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 66.04,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.73052,
    "c": 0.15906,
    "h": 115.8
  },
  "luminance": 0.40226
}

Semantic roles & 50–950 ramp

primary
#A4B31E
secondary
#6D62CB
accent
#3AEE4C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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