#A29227#A29227

#A29227 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.5% C 0.123 H 100.4°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A29227
RGBrgb(162, 146, 39)
HSLhsl(52, 61%, 39%)
HSVhsv(52, 76%, 64%)
CMYKcmyk(0%, 9.9%, 75.9%, 36.5%)
CIE-LABlab(60.24, -5.93, 55.11)
CIE-LCHlch(60.24, 55.43, 96.14°)
OKLaboklab(65.52% -0.0222 0.121)
OKLCHoklch(65.52% 0.123 100.4)
XYZxyz(25.5466, 28.3868, 6.0526)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A29227 #2737A2
analogous
#A25527 #A29227 #75A227
triadic
#A29227 #27A292 #9227A2
tetradic
#A29227 #27A255 #2737A2 #A22775
square
#A29227 #27A255 #2737A2 #A22775
split-complementary
#A29227 #2775A2 #5527A2
monochromatic
#3F390F #71661B #A29227 #CFBB37 #DBCC69

Accessibility & contrast

On white

3.15
#A29227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#A29227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A29227
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A29227#FFFFFF#000000##000000
##A292271.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E12
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#AF877D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a29227;
/* rgb */ color: rgb(162, 146, 39);
/* oklch */ color: oklch(65.5% 0.123 100.4);
Tailwind
colors: {
  custom: {
    50: '#c1b16a',
    500: '#a29227',
    950: '#000000',
  },
}
SCSS
$custom: #a29227;
$custom-light: #c1b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#a29227",
  "rgb": {
    "r": 162,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 52.195,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6552,
    "c": 0.12306,
    "h": 100.4
  },
  "luminance": 0.28386
}

Semantic roles & 50–950 ramp

primary
#A29227
secondary
#6470C1
accent
#58E443
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A29227

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

Preview Lab → · Contrast checker → · Palette generator →

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