#A7A41E#A7A41E

#A7A41E is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.143 H 108.2°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#A7A41E
RGBrgb(167, 164, 30)
HSLhsl(59, 70%, 39%)
HSVhsv(59, 82%, 65%)
CMYKcmyk(0%, 1.8%, 82%, 34.5%)
CIE-LABlab(65.64, -13.57, 62.97)
CIE-LCHlch(65.64, 64.42, 102.16°)
OKLaboklab(69.92% -0.0447 0.1359)
OKLCHoklch(69.92% 0.143 108.2)
XYZxyz(29.4474, 34.8612, 6.4058)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A41E #1E21A7
analogous
#A75F1E #A7A41E #65A71E
triadic
#A7A41E #1EA7A4 #A41EA7
tetradic
#A7A41E #1EA75F #1E21A7 #A71E65
square
#A7A41E #1EA75F #1E21A7 #A71E65
split-complementary
#A7A41E #1E65A7 #5F1EA7
monochromatic
#3F3E0B #737115 #A7A41E #D9D52A #E2DF5D

Accessibility & contrast

On white

2.63
#A7A41E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#A7A41E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A41E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A41E#FFFFFF#000000##000000
##A7A41E1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B4A12B
Tritanopia (blue-blind)
#B4998C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a7a41e;
/* rgb */ color: rgb(167, 164, 30);
/* oklch */ color: oklch(69.9% 0.143 108.2);
Tailwind
colors: {
  custom: {
    50: '#c5be68',
    500: '#a7a41e',
    950: '#000000',
  },
}
SCSS
$custom: #a7a41e;
$custom-light: #c5be68;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a41e",
  "rgb": {
    "r": 167,
    "g": 164,
    "b": 30
  },
  "hsl": {
    "h": 58.686,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69915,
    "c": 0.14307,
    "h": 108.2
  },
  "luminance": 0.3486
}

Semantic roles & 50–950 ramp

primary
#A7A41E
secondary
#5B5DC6
accent
#3FEC3B
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A41E

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

Preview Lab → · Contrast checker → · Palette generator →

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