#AD9F27#AD9F27

#AD9F27 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.4% C 0.134 H 102.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#AD9F27
RGBrgb(173, 159, 39)
HSLhsl(54, 63%, 42%)
HSVhsv(54, 77%, 68%)
CMYKcmyk(0%, 8.1%, 77.5%, 32.2%)
CIE-LABlab(64.83, -7.96, 59.74)
CIE-LCHlch(64.83, 60.27, 97.59°)
OKLaboklab(69.41% -0.0286 0.1304)
OKLCHoklch(69.41% 0.134 102.4)
XYZxyz(29.9993, 33.8283, 6.8684)
Luminance0.3383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9F27 #2735AD
analogous
#AD5C27 #AD9F27 #78AD27
triadic
#AD9F27 #27AD9F #9F27AD
tetradic
#AD9F27 #27AD5C #2735AD #AD2778
square
#AD9F27 #27AD5C #2735AD #AD2778
split-complementary
#AD9F27 #2778AD #5C27AD
monochromatic
#494310 #7B711C #AD9F27 #D3C43E #DFD370

Accessibility & contrast

On white

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

On black

7.77
#AD9F27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9F27
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9F27#FFFFFF#000000##000000
##AD9F271.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0A
Deuteranopia (green-blind)
#B2A030
Tritanopia (blue-blind)
#BB9388
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ad9f27;
/* rgb */ color: rgb(173, 159, 39);
/* oklch */ color: oklch(69.4% 0.134 102.4);
Tailwind
colors: {
  custom: {
    50: '#c9bb6b',
    500: '#ad9f27',
    950: '#000000',
  },
}
SCSS
$custom: #ad9f27;
$custom-light: #c9bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9f27",
  "rgb": {
    "r": 173,
    "g": 159,
    "b": 39
  },
  "hsl": {
    "h": 53.731,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69407,
    "c": 0.13351,
    "h": 102.4
  },
  "luminance": 0.33827
}

Semantic roles & 50–950 ramp

primary
#AD9F27
secondary
#6A74C6
accent
#53E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AD9F27

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

Preview Lab → · Contrast checker → · Palette generator →

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