#A59227#A59227

#A59227 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.8% C 0.123 H 98.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A59227
RGBrgb(165, 146, 39)
HSLhsl(51, 62%, 40%)
HSVhsv(51, 76%, 65%)
CMYKcmyk(0%, 11.5%, 76.4%, 35.3%)
CIE-LABlab(60.52, -4.58, 55.48)
CIE-LCHlch(60.52, 55.67, 94.71°)
OKLaboklab(65.81% -0.0186 0.1217)
OKLCHoklch(65.81% 0.123 98.7)
XYZxyz(26.1635, 28.7049, 6.0816)
Luminance0.2870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A59227 #273AA5
analogous
#A55327 #A59227 #79A527
triadic
#A59227 #27A592 #9227A5
tetradic
#A59227 #27A553 #273AA5 #A52779
square
#A59227 #27A553 #273AA5 #A52779
split-complementary
#A59227 #2779A5 #5327A5
monochromatic
#423A10 #74661B #A59227 #D0B939 #DCCB6A

Accessibility & contrast

On white

3.12
#A59227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#A59227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A59227
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A59227#FFFFFF#000000##000000
##A592271.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E12
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#B2877D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a59227;
/* rgb */ color: rgb(165, 146, 39);
/* oklch */ color: oklch(65.8% 0.123 98.7);
Tailwind
colors: {
  custom: {
    50: '#c3b16a',
    500: '#a59227',
    950: '#000000',
  },
}
SCSS
$custom: #a59227;
$custom-light: #c3b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#a59227",
  "rgb": {
    "r": 165,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 50.952,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.65812,
    "c": 0.1231,
    "h": 98.7
  },
  "luminance": 0.28704
}

Semantic roles & 50–950 ramp

primary
#A59227
secondary
#6674C2
accent
#5BE543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A59227

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

Preview Lab → · Contrast checker → · Palette generator →

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