#A4A027#A4A027

#A4A027 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.8% C 0.135 H 107.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#A4A027
RGBrgb(164, 160, 39)
HSLhsl(58, 62%, 40%)
HSVhsv(58, 76%, 64%)
CMYKcmyk(0%, 2.4%, 76.2%, 35.7%)
CIE-LABlab(64.31, -12.48, 58.97)
CIE-LCHlch(64.31, 60.28, 101.95°)
OKLaboklab(68.8% -0.0408 0.1292)
OKLCHoklch(68.8% 0.135 107.5)
XYZxyz(28.2480, 33.1816, 6.8358)
Luminance0.3318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A027 #272BA4
analogous
#A46227 #A4A027 #6AA427
triadic
#A4A027 #27A4A0 #A027A4
tetradic
#A4A027 #27A462 #272BA4 #A4276A
square
#A4A027 #27A462 #272BA4 #A4276A
split-complementary
#A4A027 #276AA4 #6227A4
monochromatic
#41400F #73701B #A4A027 #D0CB38 #DCD86A

Accessibility & contrast

On white

2.75
#A4A027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#A4A027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A027
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A027#FFFFFF#000000##000000
##A4A0271.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0A
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#B09589
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a4a027;
/* rgb */ color: rgb(164, 160, 39);
/* oklch */ color: oklch(68.8% 0.135 107.5);
Tailwind
colors: {
  custom: {
    50: '#c3bb6b',
    500: '#a4a027',
    950: '#000000',
  },
}
SCSS
$custom: #a4a027;
$custom-light: #c3bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a027",
  "rgb": {
    "r": 164,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 58.08,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68803,
    "c": 0.13544,
    "h": 107.5
  },
  "luminance": 0.33181
}

Semantic roles & 50–950 ramp

primary
#A4A027
secondary
#6568C2
accent
#48E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A4A027

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

Preview Lab → · Contrast checker → · Palette generator →

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