#A7A51E#A7A51E

#A7A51E is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.144 H 108.7°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#A7A51E
RGBrgb(167, 165, 30)
HSLhsl(59, 70%, 39%)
HSVhsv(59, 82%, 65%)
CMYKcmyk(0%, 1.2%, 82%, 34.5%)
CIE-LABlab(65.92, -14.09, 63.21)
CIE-LCHlch(65.92, 64.76, 102.56°)
OKLaboklab(70.14% -0.0461 0.1364)
OKLCHoklch(70.14% 0.144 108.7)
XYZxyz(29.6270, 35.2205, 6.4656)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A51E #1E20A7
analogous
#A7601E #A7A51E #64A71E
triadic
#A7A51E #1EA7A5 #A51EA7
tetradic
#A7A51E #1EA760 #1E20A7 #A71E64
square
#A7A51E #1EA760 #1E20A7 #A71E64
split-complementary
#A7A51E #1E64A7 #601EA7
monochromatic
#3F3E0B #737215 #A7A51E #D9D62A #E2E05D

Accessibility & contrast

On white

2.61
#A7A51E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#A7A51E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A51E
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A51E#FFFFFF#000000##000000
##A7A51E1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B5A22B
Tritanopia (blue-blind)
#B49A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a7a51e;
/* rgb */ color: rgb(167, 165, 30);
/* oklch */ color: oklch(70.1% 0.144 108.7);
Tailwind
colors: {
  custom: {
    50: '#c5bf68',
    500: '#a7a51e',
    950: '#000000',
  },
}
SCSS
$custom: #a7a51e;
$custom-light: #c5bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a51e",
  "rgb": {
    "r": 167,
    "g": 165,
    "b": 30
  },
  "hsl": {
    "h": 59.124,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70138,
    "c": 0.14402,
    "h": 108.7
  },
  "luminance": 0.35219
}

Semantic roles & 50–950 ramp

primary
#A7A51E
secondary
#5B5CC6
accent
#3EEC3B
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A51E

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

Preview Lab → · Contrast checker → · Palette generator →

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