#9D9A2A#9D9A2A

#9D9A2A is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.9% C 0.129 H 107.9°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9D9A2A
RGBrgb(157, 154, 42)
HSLhsl(58, 58%, 39%)
HSVhsv(58, 73%, 62%)
CMYKcmyk(0%, 1.9%, 73.2%, 38.4%)
CIE-LABlab(62.04, -12.30, 55.57)
CIE-LCHlch(62.04, 56.92, 102.48°)
OKLaboklab(66.85% -0.0396 0.1228)
OKLCHoklch(66.85% 0.129 107.9)
XYZxyz(25.8791, 30.4473, 6.7038)
Luminance0.3045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9A2A #2A2D9D
analogous
#9D612A #9D9A2A #679D2A
triadic
#9D9A2A #2A9D9A #9A2A9D
tetradic
#9D9A2A #2A9D61 #2A2D9D #9D2A67
square
#9D9A2A #2A9D61 #2A2D9D #9D2A67
split-complementary
#9D9A2A #2A679D #612A9D
monochromatic
#3C3B10 #6D6B1D #9D9A2A #CAC73A #D7D46A

Accessibility & contrast

On white

2.96
#9D9A2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#9D9A2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9A2A
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9A2A#FFFFFF#000000##000000
##9D9A2A1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79415
Deuteranopia (green-blind)
#A99832
Tritanopia (blue-blind)
#A99084
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d9a2a;
/* rgb */ color: rgb(157, 154, 42);
/* oklch */ color: oklch(66.9% 0.129 107.9);
Tailwind
colors: {
  custom: {
    50: '#bdb76c',
    500: '#9d9a2a',
    950: '#000000',
  },
}
SCSS
$custom: #9d9a2a;
$custom-light: #bdb76c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9a2a",
  "rgb": {
    "r": 157,
    "g": 154,
    "b": 42
  },
  "hsl": {
    "h": 58.435,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66852,
    "c": 0.12901,
    "h": 107.9
  },
  "luminance": 0.30446
}

Semantic roles & 50–950 ramp

primary
#9D9A2A
secondary
#6567BE
accent
#4BE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D9A2A

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

Preview Lab → · Contrast checker → · Palette generator →

#9D9A2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva