#A7A427#A7A427

#A7A427 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.0% C 0.139 H 108.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#A7A427
RGBrgb(167, 164, 39)
HSLhsl(59, 62%, 40%)
HSVhsv(59, 77%, 65%)
CMYKcmyk(0%, 1.8%, 76.6%, 34.5%)
CIE-LABlab(65.68, -13.24, 60.33)
CIE-LCHlch(65.68, 61.77, 102.38°)
OKLaboklab(69.96% -0.0431 0.1319)
OKLCHoklch(69.96% 0.139 108.1)
XYZxyz(29.5792, 34.9139, 7.1000)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A427 #272AA7
analogous
#A76427 #A7A427 #6AA727
triadic
#A7A427 #27A7A4 #A427A7
tetradic
#A7A427 #27A764 #272AA7 #A7276A
square
#A7A427 #27A764 #272AA7 #A7276A
split-complementary
#A7A427 #276AA7 #6427A7
monochromatic
#444310 #75731B #A7A427 #D1CD3A #DDDA6C

Accessibility & contrast

On white

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

On black

7.98
#A7A427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A427
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A427#FFFFFF#000000##000000
##A7A4271.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D07
Deuteranopia (green-blind)
#B4A231
Tritanopia (blue-blind)
#B3998D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a7a427;
/* rgb */ color: rgb(167, 164, 39);
/* oklch */ color: oklch(70.0% 0.139 108.1);
Tailwind
colors: {
  custom: {
    50: '#c5be6c',
    500: '#a7a427',
    950: '#000000',
  },
}
SCSS
$custom: #a7a427;
$custom-light: #c5be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a427",
  "rgb": {
    "r": 167,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 58.594,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69961,
    "c": 0.13878,
    "h": 108.1
  },
  "luminance": 0.34913
}

Semantic roles & 50–950 ramp

primary
#A7A427
secondary
#6769C3
accent
#46E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A427

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

Preview Lab → · Contrast checker → · Palette generator →

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