#A7A61E#A7A61E

#A7A61E is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.145 H 109.2°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#A7A61E
RGBrgb(167, 166, 30)
HSLhsl(60, 70%, 39%)
HSVhsv(60, 82%, 65%)
CMYKcmyk(0%, 0.6%, 82%, 34.5%)
CIE-LABlab(66.20, -14.60, 63.45)
CIE-LCHlch(66.20, 65.11, 102.96°)
OKLaboklab(70.36% -0.0476 0.1369)
OKLCHoklch(70.36% 0.145 109.2)
XYZxyz(29.8081, 35.5826, 6.5260)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A61E #1E1FA7
analogous
#A7611E #A7A61E #63A71E
triadic
#A7A61E #1EA7A6 #A61EA7
tetradic
#A7A61E #1EA761 #1E1FA7 #A71E63
square
#A7A61E #1EA761 #1E1FA7 #A71E63
split-complementary
#A7A61E #1E63A7 #611EA7
monochromatic
#3F3F0B #737215 #A7A61E #D9D72A #E2E15D

Accessibility & contrast

On white

2.59
#A7A61E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#A7A61E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A61E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A61E#FFFFFF#000000##000000
##A7A61E1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32B
Tritanopia (blue-blind)
#B39B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a7a61e;
/* rgb */ color: rgb(167, 166, 30);
/* oklch */ color: oklch(70.4% 0.145 109.2);
Tailwind
colors: {
  custom: {
    50: '#c5c068',
    500: '#a7a61e',
    950: '#000000',
  },
}
SCSS
$custom: #a7a61e;
$custom-light: #c5c068;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a61e",
  "rgb": {
    "r": 167,
    "g": 166,
    "b": 30
  },
  "hsl": {
    "h": 59.562,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70362,
    "c": 0.14498,
    "h": 109.2
  },
  "luminance": 0.35582
}

Semantic roles & 50–950 ramp

primary
#A7A61E
secondary
#5B5BC6
accent
#3DEC3B
background
#FCFBF6
surface
#F9F7EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A61E

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

Preview Lab → · Contrast checker → · Palette generator →

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