#A7A02C#A7A02C

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

Color values

HEX#A7A02C
RGBrgb(167, 160, 44)
HSLhsl(57, 58%, 41%)
HSVhsv(57, 74%, 65%)
CMYKcmyk(0%, 4.2%, 73.7%, 34.5%)
CIE-LABlab(64.60, -10.93, 57.60)
CIE-LCHlch(64.60, 58.62, 100.75°)
OKLaboklab(69.1% -0.0361 0.1271)
OKLCHoklch(69.1% 0.132 105.9)
XYZxyz(28.9630, 33.5400, 7.3306)
Luminance0.3354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A02C #2C33A7
analogous
#A7632C #A7A02C #71A72C
triadic
#A7A02C #2CA7A0 #A02CA7
tetradic
#A7A02C #2CA763 #2C33A7 #A72C71
square
#A7A02C #2CA763 #2C33A7 #A72C71
split-complementary
#A7A02C #2C71A7 #632CA7
monochromatic
#464312 #77721F #A7A02C #CDC643 #DAD473

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A02C#FFFFFF#000000##000000
##A7A02C1.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)
#AE9A16
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#B4958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a7a02c;
/* rgb */ color: rgb(167, 160, 44);
/* oklch */ color: oklch(69.1% 0.132 105.9);
Tailwind
colors: {
  custom: {
    50: '#c5bb6e',
    500: '#a7a02c',
    950: '#000000',
  },
}
SCSS
$custom: #a7a02c;
$custom-light: #c5bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a02c",
  "rgb": {
    "r": 167,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 56.585,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69104,
    "c": 0.1321,
    "h": 105.9
  },
  "luminance": 0.33539
}

Semantic roles & 50–950 ramp

primary
#A7A02C
secondary
#6D72C2
accent
#4FE246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A7A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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