#AD9227#AD9227

#AD9227 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.6% C 0.124 H 94.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AD9227
RGBrgb(173, 146, 39)
HSLhsl(48, 63%, 42%)
HSVhsv(48, 77%, 68%)
CMYKcmyk(0%, 15.6%, 77.5%, 32.2%)
CIE-LABlab(61.30, -0.97, 56.49)
CIE-LCHlch(61.30, 56.50, 90.98°)
OKLaboklab(66.61% -0.0088 0.1235)
OKLCHoklch(66.61% 0.124 94.1)
XYZxyz(27.8802, 29.5901, 6.1620)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9227 #2742AD
analogous
#AD4F27 #AD9227 #85AD27
triadic
#AD9227 #27AD92 #9227AD
tetradic
#AD9227 #27AD4F #2742AD #AD2785
square
#AD9227 #27AD4F #2742AD #AD2785
split-complementary
#AD9227 #2785AD #4F27AD
monochromatic
#493E10 #7B681C #AD9227 #D3B53E #DFC870

Accessibility & contrast

On white

3.04
#AD9227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#AD9227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD9227
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9227#FFFFFF#000000##000000
##AD92271.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F12
Deuteranopia (green-blind)
#A9972E
Tritanopia (blue-blind)
#BB867E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ad9227;
/* rgb */ color: rgb(173, 146, 39);
/* oklch */ color: oklch(66.6% 0.124 94.1);
Tailwind
colors: {
  custom: {
    50: '#cab16a',
    500: '#ad9227',
    950: '#000000',
  },
}
SCSS
$custom: #ad9227;
$custom-light: #cab16a;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9227",
  "rgb": {
    "r": 173,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 47.91,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66611,
    "c": 0.12378,
    "h": 94.1
  },
  "luminance": 0.29588
}

Semantic roles & 50–950 ramp

primary
#AD9227
secondary
#6A7DC6
accent
#63E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AD9227

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

Preview Lab → · Contrast checker → · Palette generator →

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