#A4B02F#A4B02F

#A4B02F is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.5% C 0.147 H 114.8°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#A4B02F
RGBrgb(164, 176, 47)
HSLhsl(66, 58%, 44%)
HSVhsv(66, 73%, 69%)
CMYKcmyk(6.8%, 0%, 73.3%, 31%)
CIE-LABlab(68.86, -20.31, 60.52)
CIE-LCHlch(68.86, 63.84, 108.55°)
OKLaboklab(72.46% -0.0619 0.1339)
OKLCHoklch(72.46% 0.147 114.8)
XYZxyz(31.3491, 39.1490, 8.5938)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B02F #3B2FB0
analogous
#B07B2F #A4B02F #63B02F
triadic
#A4B02F #2FA4B0 #B02FA4
tetradic
#A4B02F #2FB07B #3B2FB0 #B02F63
square
#A4B02F #2FB07B #3B2FB0 #B02F63
split-complementary
#A4B02F #2F63B0 #7B2FB0
monochromatic
#4A4F15 #778022 #A4B02F #C3CF4D #D3DC7D

Accessibility & contrast

On white

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

On black

8.83
#A4B02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B02F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B02F#FFFFFF#000000##000000
##A4B02F1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA715
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#AFA697
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a4b02f;
/* rgb */ color: rgb(164, 176, 47);
/* oklch */ color: oklch(72.5% 0.147 114.8);
Tailwind
colors: {
  custom: {
    50: '#c2c771',
    500: '#a4b02f',
    950: '#000000',
  },
}
SCSS
$custom: #a4b02f;
$custom-light: #c2c771;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b02f",
  "rgb": {
    "r": 164,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 65.581,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72458,
    "c": 0.14749,
    "h": 114.8
  },
  "luminance": 0.39148
}

Semantic roles & 50–950 ramp

primary
#A4B02F
secondary
#7D76C5
accent
#47E155
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A4B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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