#AD9228#AD9228

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

Color values

HEX#AD9228
RGBrgb(173, 146, 40)
HSLhsl(48, 62%, 42%)
HSVhsv(48, 77%, 68%)
CMYKcmyk(0%, 15.6%, 76.9%, 32.2%)
CIE-LABlab(61.30, -0.93, 56.13)
CIE-LCHlch(61.30, 56.14, 90.95°)
OKLaboklab(66.62% -0.0086 0.1229)
OKLCHoklch(66.62% 0.123 94)
XYZxyz(27.8970, 29.5968, 6.2505)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9228 #2843AD
analogous
#AD5028 #AD9228 #85AD28
triadic
#AD9228 #28AD92 #9228AD
tetradic
#AD9228 #28AD50 #2843AD #AD2885
square
#AD9228 #28AD50 #2843AD #AD2885
split-complementary
#AD9228 #2885AD #5028AD
monochromatic
#4A3E11 #7B681D #AD9228 #D3B53F #DEC871

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD9228#FFFFFF#000000##000000
##AD92281.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)
#A28F14
Deuteranopia (green-blind)
#A9972F
Tritanopia (blue-blind)
#BB867E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ad9228;
/* rgb */ color: rgb(173, 146, 40);
/* oklch */ color: oklch(66.6% 0.123 94.0);
Tailwind
colors: {
  custom: {
    50: '#c9b16a',
    500: '#ad9228',
    950: '#000000',
  },
}
SCSS
$custom: #ad9228;
$custom-light: #c9b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9228",
  "rgb": {
    "r": 173,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 47.82,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66617,
    "c": 0.12322,
    "h": 94
  },
  "luminance": 0.29595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AD9228

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

Preview Lab → · Contrast checker → · Palette generator →

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