#A4A02F#A4A02F

#A4A02F is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.9% C 0.131 H 107.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A4A02F
RGBrgb(164, 160, 47)
HSLhsl(58, 55%, 41%)
HSVhsv(58, 71%, 64%)
CMYKcmyk(0%, 2.4%, 71.3%, 35.7%)
CIE-LABlab(64.36, -12.11, 56.16)
CIE-LCHlch(64.36, 57.45, 102.17°)
OKLaboklab(68.86% -0.039 0.1247)
OKLCHoklch(68.86% 0.131 107.4)
XYZxyz(28.3948, 33.2403, 7.6091)
Luminance0.3324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A02F #2F33A4
analogous
#A4662F #A4A02F #6EA42F
triadic
#A4A02F #2FA4A0 #A02FA4
tetradic
#A4A02F #2FA466 #2F33A4 #A42F6E
square
#A4A02F #2FA466 #2F33A4 #A42F6E
split-complementary
#A4A02F #2F6EA4 #662FA4
monochromatic
#454314 #747221 #A4A02F #CAC646 #D8D476

Accessibility & contrast

On white

2.75
#A4A02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#A4A02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A02F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A02F#FFFFFF#000000##000000
##A4A02F1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#B0958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a4a02f;
/* rgb */ color: rgb(164, 160, 47);
/* oklch */ color: oklch(68.9% 0.131 107.4);
Tailwind
colors: {
  custom: {
    50: '#c2bb6f',
    500: '#a4a02f',
    950: '#000000',
  },
}
SCSS
$custom: #a4a02f;
$custom-light: #c2bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a02f",
  "rgb": {
    "r": 164,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 57.949,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68856,
    "c": 0.13065,
    "h": 107.4
  },
  "luminance": 0.33239
}

Semantic roles & 50–950 ramp

primary
#A4A02F
secondary
#6F72C0
accent
#4EDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A4A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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