#A7A02E#A7A02E

#A7A02E is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.131 H 105.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A7A02E
RGBrgb(167, 160, 46)
HSLhsl(57, 57%, 42%)
HSVhsv(57, 72%, 65%)
CMYKcmyk(0%, 4.2%, 72.5%, 34.5%)
CIE-LABlab(64.61, -10.84, 56.87)
CIE-LCHlch(64.61, 57.90, 100.79°)
OKLaboklab(69.12% -0.0357 0.1259)
OKLCHoklch(69.12% 0.131 105.8)
XYZxyz(29.0015, 33.5554, 7.5334)
Luminance0.3355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A02E #2E35A7
analogous
#A7642E #A7A02E #72A72E
triadic
#A7A02E #2EA7A0 #A02EA7
tetradic
#A7A02E #2EA764 #2E35A7 #A72E72
square
#A7A02E #2EA764 #2E35A7 #A72E72
split-complementary
#A7A02E #2E72A7 #642EA7
monochromatic
#474414 #777221 #A7A02E #CCC446 #D9D476

Accessibility & contrast

On white

2.72
#A7A02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A7A02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A02E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A02E#FFFFFF#000000##000000
##A7A02E1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#B3958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a7a02e;
/* rgb */ color: rgb(167, 160, 46);
/* oklch */ color: oklch(69.1% 0.131 105.8);
Tailwind
colors: {
  custom: {
    50: '#c5bb6f',
    500: '#a7a02e',
    950: '#000000',
  },
}
SCSS
$custom: #a7a02e;
$custom-light: #c5bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a02e",
  "rgb": {
    "r": 167,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 56.529,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69118,
    "c": 0.13086,
    "h": 105.8
  },
  "luminance": 0.33554
}

Semantic roles & 50–950 ramp

primary
#A7A02E
secondary
#7074C1
accent
#51E048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A7A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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