#A7A927#A7A927

#A7A927 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.1% C 0.144 H 110.5°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#A7A927
RGBrgb(167, 169, 39)
HSLhsl(61, 63%, 41%)
HSVhsv(61, 77%, 66%)
CMYKcmyk(1.2%, 0%, 76.9%, 33.7%)
CIE-LABlab(67.08, -15.82, 61.61)
CIE-LCHlch(67.08, 63.61, 104.41°)
OKLaboklab(71.08% -0.0503 0.1347)
OKLCHoklch(71.08% 0.144 110.5)
XYZxyz(30.4916, 36.7388, 7.4042)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A927 #2927A9
analogous
#A96A27 #A7A927 #66A927
triadic
#A7A927 #27A7A9 #A927A7
tetradic
#A7A927 #27A96A #2927A9 #A92766
square
#A7A927 #27A96A #2927A9 #A92766
split-complementary
#A7A927 #2766A9 #6A27A9
monochromatic
#454610 #76771C #A7A927 #D0D23B #DCDD6D

Accessibility & contrast

On white

2.52
#A7A927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#A7A927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A927
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A927#FFFFFF#000000##000000
##A7A9271.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A102
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#B39E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a7a927;
/* rgb */ color: rgb(167, 169, 39);
/* oklch */ color: oklch(71.1% 0.144 110.5);
Tailwind
colors: {
  custom: {
    50: '#c5c26c',
    500: '#a7a927',
    950: '#000000',
  },
}
SCSS
$custom: #a7a927;
$custom-light: #c5c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a927",
  "rgb": {
    "r": 167,
    "g": 169,
    "b": 39
  },
  "hsl": {
    "h": 60.923,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71079,
    "c": 0.14372,
    "h": 110.5
  },
  "luminance": 0.36738
}

Semantic roles & 50–950 ramp

primary
#A7A927
secondary
#6968C4
accent
#42E645
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A927

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

Preview Lab → · Contrast checker → · Palette generator →

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