#AD9F2F#AD9F2F

#AD9F2F is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.5% C 0.129 H 102.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#AD9F2F
RGBrgb(173, 159, 47)
HSLhsl(53, 57%, 43%)
HSVhsv(53, 73%, 68%)
CMYKcmyk(0%, 8.1%, 72.8%, 32.2%)
CIE-LABlab(64.87, -7.61, 56.94)
CIE-LCHlch(64.87, 57.44, 97.61°)
OKLaboklab(69.46% -0.0268 0.126)
OKLCHoklch(69.46% 0.129 102)
XYZxyz(30.1462, 33.8871, 7.6417)
Luminance0.3389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9F2F #2F3DAD
analogous
#AD602F #AD9F2F #7CAD2F
triadic
#AD9F2F #2FAD9F #9F2FAD
tetradic
#AD9F2F #2FAD60 #2F3DAD #AD2F7C
square
#AD9F2F #2FAD60 #2F3DAD #AD2F7C
split-complementary
#AD9F2F #2F7CAD #602FAD
monochromatic
#4D4715 #7D7322 #AD9F2F #CEC04B #DBD17B

Accessibility & contrast

On white

2.70
#AD9F2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#AD9F2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9F2F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9F2F#FFFFFF#000000##000000
##AD9F2F1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#BA9489
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ad9f2f;
/* rgb */ color: rgb(173, 159, 47);
/* oklch */ color: oklch(69.5% 0.129 102.0);
Tailwind
colors: {
  custom: {
    50: '#c9bb6f',
    500: '#ad9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #ad9f2f;
$custom-light: #c9bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9f2f",
  "rgb": {
    "r": 173,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 53.333,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69459,
    "c": 0.12883,
    "h": 102
  },
  "luminance": 0.33886
}

Semantic roles & 50–950 ramp

primary
#AD9F2F
secondary
#747DC4
accent
#58E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AD9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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