#A4B01F#A4B01F

#A4B01F is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.155 H 114.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#A4B01F
RGBrgb(164, 176, 31)
HSLhsl(65, 70%, 41%)
HSVhsv(65, 82%, 69%)
CMYKcmyk(6.8%, 0%, 82.4%, 31%)
CIE-LABlab(68.78, -20.96, 65.32)
CIE-LCHlch(68.78, 68.60, 107.79°)
OKLaboklab(72.37% -0.0649 0.1413)
OKLCHoklch(72.37% 0.156 114.7)
XYZxyz(31.0835, 39.0427, 7.1946)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B01F #2B1FB0
analogous
#B0741F #A4B01F #5BB01F
triadic
#A4B01F #1FA4B0 #B01FA4
tetradic
#A4B01F #1FB074 #2B1FB0 #B01F5B
square
#A4B01F #1FB074 #2B1FB0 #B01F5B
split-complementary
#A4B01F #1F5BB0 #741FB0
monochromatic
#43480D #747C16 #A4B01F #CDDB31 #D9E465

Accessibility & contrast

On white

2.38
#A4B01F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#A4B01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B01F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B01F#FFFFFF#000000##000000
##A4B01F1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BDA92E
Tritanopia (blue-blind)
#AFA596
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a4b01f;
/* rgb */ color: rgb(164, 176, 31);
/* oklch */ color: oklch(72.4% 0.155 114.7);
Tailwind
colors: {
  custom: {
    50: '#c3c76a',
    500: '#a4b01f',
    950: '#000000',
  },
}
SCSS
$custom: #a4b01f;
$custom-light: #c3c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b01f",
  "rgb": {
    "r": 164,
    "g": 176,
    "b": 31
  },
  "hsl": {
    "h": 64.966,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72372,
    "c": 0.1555,
    "h": 114.7
  },
  "luminance": 0.39042
}

Semantic roles & 50–950 ramp

primary
#A4B01F
secondary
#6A62C9
accent
#3BED4A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B01F

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

Preview Lab → · Contrast checker → · Palette generator →

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