#A8A027#A8A027

#A8A027 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.2% C 0.135 H 105.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A8A027
RGBrgb(168, 160, 39)
HSLhsl(56, 62%, 41%)
HSVhsv(56, 77%, 66%)
CMYKcmyk(0%, 4.8%, 76.8%, 34.1%)
CIE-LABlab(64.66, -10.71, 59.42)
CIE-LCHlch(64.66, 60.38, 100.22°)
OKLaboklab(69.16% -0.036 0.13)
OKLCHoklch(69.16% 0.135 105.5)
XYZxyz(29.0867, 33.6140, 6.8751)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A027 #272FA8
analogous
#A85F27 #A8A027 #6FA827
triadic
#A8A027 #27A8A0 #A027A8
tetradic
#A8A027 #27A85F #272FA8 #A8276F
square
#A8A027 #27A85F #272FA8 #A8276F
split-complementary
#A8A027 #276FA8 #5F27A8
monochromatic
#454110 #76711B #A8A027 #D1C83B #DDD66C

Accessibility & contrast

On white

2.72
#A8A027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A8A027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A027
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A027#FFFFFF#000000##000000
##A8A0271.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0A
Deuteranopia (green-blind)
#B19F30
Tritanopia (blue-blind)
#B59589
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a027;
/* rgb */ color: rgb(168, 160, 39);
/* oklch */ color: oklch(69.2% 0.135 105.5);
Tailwind
colors: {
  custom: {
    50: '#c6bb6b',
    500: '#a8a027',
    950: '#000000',
  },
}
SCSS
$custom: #a8a027;
$custom-light: #c6bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a027",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 56.279,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69164,
    "c": 0.13485,
    "h": 105.5
  },
  "luminance": 0.33613
}

Semantic roles & 50–950 ramp

primary
#A8A027
secondary
#676DC3
accent
#4DE542
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A8A027

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

Preview Lab → · Contrast checker → · Palette generator →

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