#A29927#A29927

#A29927 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.129 H 104.7°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A29927
RGBrgb(162, 153, 39)
HSLhsl(56, 61%, 39%)
HSVhsv(56, 76%, 64%)
CMYKcmyk(0%, 5.6%, 75.9%, 36.5%)
CIE-LABlab(62.18, -9.68, 56.93)
CIE-LCHlch(62.18, 57.75, 99.65°)
OKLaboklab(67.06% -0.0328 0.1249)
OKLCHoklch(67.06% 0.129 104.7)
XYZxyz(26.6589, 30.6114, 6.4234)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A29927 #2730A2
analogous
#A25C27 #A29927 #6EA227
triadic
#A29927 #27A299 #9927A2
tetradic
#A29927 #27A25C #2730A2 #A2276E
square
#A29927 #27A25C #2730A2 #A2276E
split-complementary
#A29927 #276EA2 #5C27A2
monochromatic
#3F3C0F #716A1B #A29927 #CFC437 #DBD269

Accessibility & contrast

On white

2.95
#A29927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#A29927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A29927
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A29927#FFFFFF#000000##000000
##A299271.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930F
Deuteranopia (green-blind)
#AA9930
Tritanopia (blue-blind)
#AE8E83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a29927;
/* rgb */ color: rgb(162, 153, 39);
/* oklch */ color: oklch(67.1% 0.129 104.7);
Tailwind
colors: {
  custom: {
    50: '#c1b66a',
    500: '#a29927',
    950: '#000000',
  },
}
SCSS
$custom: #a29927;
$custom-light: #c1b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#a29927",
  "rgb": {
    "r": 162,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 55.61,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67064,
    "c": 0.12914,
    "h": 104.7
  },
  "luminance": 0.3061
}

Semantic roles & 50–950 ramp

primary
#A29927
secondary
#646BC1
accent
#4FE443
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A29927

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

Preview Lab → · Contrast checker → · Palette generator →

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