#A8A727#A8A727

#A8A727 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.142 H 109.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#A8A727
RGBrgb(168, 167, 39)
HSLhsl(60, 62%, 41%)
HSVhsv(60, 77%, 66%)
CMYKcmyk(0%, 0.6%, 76.8%, 34.1%)
CIE-LABlab(66.60, -14.36, 61.20)
CIE-LCHlch(66.60, 62.87, 103.20°)
OKLaboklab(70.72% -0.0462 0.1338)
OKLCHoklch(70.72% 0.142 109.1)
XYZxyz(30.3345, 36.1097, 7.2910)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A727 #2728A8
analogous
#A86627 #A8A727 #68A827
triadic
#A8A727 #27A8A7 #A727A8
tetradic
#A8A727 #27A866 #2728A8 #A82768
square
#A8A727 #27A866 #2728A8 #A82768
split-complementary
#A8A727 #2768A8 #6627A8
monochromatic
#454410 #76761B #A8A727 #D1D03B #DDDC6C

Accessibility & contrast

On white

2.55
#A8A727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#A8A727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A727
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A727#FFFFFF#000000##000000
##A8A7271.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a727;
/* rgb */ color: rgb(168, 167, 39);
/* oklch */ color: oklch(70.7% 0.142 109.1);
Tailwind
colors: {
  custom: {
    50: '#c6c06c',
    500: '#a8a727',
    950: '#000000',
  },
}
SCSS
$custom: #a8a727;
$custom-light: #c6c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a727",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 59.535,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70718,
    "c": 0.14151,
    "h": 109.1
  },
  "luminance": 0.36109
}

Semantic roles & 50–950 ramp

primary
#A8A727
secondary
#6768C3
accent
#44E542
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A727

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

Preview Lab → · Contrast checker → · Palette generator →

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