#A7A02A#A7A02A

#A7A02A is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.1% C 0.133 H 105.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#A7A02A
RGBrgb(167, 160, 42)
HSLhsl(57, 60%, 41%)
HSVhsv(57, 75%, 65%)
CMYKcmyk(0%, 4.2%, 74.9%, 34.5%)
CIE-LABlab(64.58, -11.02, 58.30)
CIE-LCHlch(64.58, 59.33, 100.71°)
OKLaboklab(69.09% -0.0366 0.1282)
OKLCHoklch(69.09% 0.133 105.9)
XYZxyz(28.9263, 33.5253, 7.1374)
Luminance0.3352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A02A #2A31A7
analogous
#A7612A #A7A02A #6FA72A
triadic
#A7A02A #2AA7A0 #A02AA7
tetradic
#A7A02A #2AA761 #2A31A7 #A72A6F
square
#A7A02A #2AA761 #2A31A7 #A72A6F
split-complementary
#A7A02A #2A6FA7 #612AA7
monochromatic
#454211 #76711E #A7A02A #CFC73F #DBD570

Accessibility & contrast

On white

2.73
#A7A02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#A7A02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A02A
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A02A#FFFFFF#000000##000000
##A7A02A1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A12
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#B49589
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a7a02a;
/* rgb */ color: rgb(167, 160, 42);
/* oklch */ color: oklch(69.1% 0.133 105.9);
Tailwind
colors: {
  custom: {
    50: '#c5bb6d',
    500: '#a7a02a',
    950: '#000000',
  },
}
SCSS
$custom: #a7a02a;
$custom-light: #c5bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a02a",
  "rgb": {
    "r": 167,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 56.64,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69091,
    "c": 0.13329,
    "h": 105.9
  },
  "luminance": 0.33524
}

Semantic roles & 50–950 ramp

primary
#A7A02A
secondary
#6B70C2
accent
#4EE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A7A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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