#9D9A2C#9D9A2C

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

Color values

HEX#9D9A2C
RGBrgb(157, 154, 44)
HSLhsl(58, 56%, 39%)
HSVhsv(58, 72%, 62%)
CMYKcmyk(0%, 1.9%, 72%, 38.4%)
CIE-LABlab(62.05, -12.20, 54.84)
CIE-LCHlch(62.05, 56.19, 102.54°)
OKLaboklab(66.87% -0.0391 0.1216)
OKLCHoklch(66.87% 0.128 107.8)
XYZxyz(25.9158, 30.4620, 6.8970)
Luminance0.3046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9A2C #2C2F9D
analogous
#9D622C #9D9A2C #689D2C
triadic
#9D9A2C #2C9D9A #9A2C9D
tetradic
#9D9A2C #2C9D62 #2C2F9D #9D2C68
square
#9D9A2C #2C9D62 #2C2F9D #9D2C68
split-complementary
#9D9A2C #2C689D #622C9D
monochromatic
#3D3C11 #6D6B1F #9D9A2C #C9C53D #D6D36D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9A2C#FFFFFF#000000##000000
##9D9A2C1.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)
#A79419
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#A89085
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d9a2c;
/* rgb */ color: rgb(157, 154, 44);
/* oklch */ color: oklch(66.9% 0.128 107.8);
Tailwind
colors: {
  custom: {
    50: '#bdb76d',
    500: '#9d9a2c',
    950: '#000000',
  },
}
SCSS
$custom: #9d9a2c;
$custom-light: #bdb76d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9a2c",
  "rgb": {
    "r": 157,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 58.407,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66866,
    "c": 0.12775,
    "h": 107.8
  },
  "luminance": 0.30461
}

Semantic roles & 50–950 ramp

primary
#9D9A2C
secondary
#686ABD
accent
#4CE048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D9A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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