#A7A727#A7A727

#A7A727 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.142 H 109.5°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#A7A727
RGBrgb(167, 167, 39)
HSLhsl(60, 62%, 40%)
HSVhsv(60, 77%, 65%)
CMYKcmyk(0%, 0%, 76.6%, 34.5%)
CIE-LABlab(66.52, -14.80, 61.10)
CIE-LCHlch(66.52, 62.86, 103.61°)
OKLaboklab(70.63% -0.0474 0.1336)
OKLCHoklch(70.63% 0.142 109.5)
XYZxyz(30.1224, 36.0003, 7.2811)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A727 #2727A7
analogous
#A76727 #A7A727 #67A727
triadic
#A7A727 #27A7A7 #A727A7
tetradic
#A7A727 #27A767 #2727A7 #A72767
square
#A7A727 #27A767 #2727A7 #A72767
split-complementary
#A7A727 #2767A7 #6727A7
monochromatic
#444410 #75751B #A7A727 #D1D13A #DDDD6C

Accessibility & contrast

On white

2.56
#A7A727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#A7A727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A727
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A727#FFFFFF#000000##000000
##A7A7271.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A004
Deuteranopia (green-blind)
#B6A432
Tritanopia (blue-blind)
#B39C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a7a727;
/* rgb */ color: rgb(167, 167, 39);
/* oklch */ color: oklch(70.6% 0.142 109.5);
Tailwind
colors: {
  custom: {
    50: '#c5c06c',
    500: '#a7a727',
    950: '#000000',
  },
}
SCSS
$custom: #a7a727;
$custom-light: #c5c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a727",
  "rgb": {
    "r": 167,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70631,
    "c": 0.14172,
    "h": 109.5
  },
  "luminance": 0.35999
}

Semantic roles & 50–950 ramp

primary
#A7A727
secondary
#6767C3
accent
#43E543
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A727

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

Preview Lab → · Contrast checker → · Palette generator →

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