#9D9D2D#9D9D2D

#9D9D2D is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.5% C 0.130 H 109.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9D9D2D
RGBrgb(157, 157, 45)
HSLhsl(60, 55%, 40%)
HSVhsv(60, 71%, 62%)
CMYKcmyk(0%, 0%, 71.3%, 38.4%)
CIE-LABlab(62.90, -13.72, 55.30)
CIE-LCHlch(62.90, 56.98, 103.94°)
OKLaboklab(67.55% -0.0433 0.1228)
OKLCHoklch(67.55% 0.13 109.4)
XYZxyz(26.4362, 31.4723, 7.1643)
Luminance0.3147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9D2D #2D2D9D
analogous
#9D652D #9D9D2D #659D2D
triadic
#9D9D2D #2D9D9D #9D2D9D
tetradic
#9D9D2D #2D9D65 #2D2D9D #9D2D65
square
#9D9D2D #2D9D65 #2D2D9D #9D2D65
split-complementary
#9D9D2D #2D659D #652D9D
monochromatic
#3E3E12 #6D6D1F #9D9D2D #C8C83F #D6D66F

Accessibility & contrast

On white

2.88
#9D9D2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#9D9D2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9D2D
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9D2D#FFFFFF#000000##000000
##9D9D2D1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961A
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#A89387
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d9d2d;
/* rgb */ color: rgb(157, 157, 45);
/* oklch */ color: oklch(67.5% 0.130 109.4);
Tailwind
colors: {
  custom: {
    50: '#bdb96e',
    500: '#9d9d2d',
    950: '#000000',
  },
}
SCSS
$custom: #9d9d2d;
$custom-light: #bdb96e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9d2d",
  "rgb": {
    "r": 157,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67549,
    "c": 0.13016,
    "h": 109.4
  },
  "luminance": 0.31472
}

Semantic roles & 50–950 ramp

primary
#9D9D2D
secondary
#6969BD
accent
#49DF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9D9D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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