#999D2D#999D2D

#999D2D is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.131 H 111.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#999D2D
RGBrgb(153, 157, 45)
HSLhsl(62, 55%, 40%)
HSVhsv(62, 71%, 62%)
CMYKcmyk(2.5%, 0%, 71.3%, 38.4%)
CIE-LABlab(62.57, -15.48, 54.86)
CIE-LCHlch(62.57, 57.01, 105.76°)
OKLaboklab(67.2% -0.048 0.122)
OKLCHoklch(67.2% 0.131 111.5)
XYZxyz(25.6683, 31.0764, 7.1283)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999D2D #312D9D
analogous
#9D692D #999D2D #619D2D
triadic
#999D2D #2D999D #9D2D99
tetradic
#999D2D #2D9D69 #312D9D #9D2D61
square
#999D2D #2D9D69 #312D9D #9D2D61
split-complementary
#999D2D #2D619D #692D9D
monochromatic
#3C3E12 #6B6D1F #999D2D #C3C83F #D2D66F

Accessibility & contrast

On white

2.91
#999D2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#999D2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999D2D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999D2D#FFFFFF#000000##000000
##999D2D1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961A
Deuteranopia (green-blind)
#AA9935
Tritanopia (blue-blind)
#A49387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #999d2d;
/* rgb */ color: rgb(153, 157, 45);
/* oklch */ color: oklch(67.2% 0.131 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab96e',
    500: '#999d2d',
    950: '#000000',
  },
}
SCSS
$custom: #999d2d;
$custom-light: #bab96e;
$custom-dark: #000000;
JSON
{
  "hex": "#999d2d",
  "rgb": {
    "r": 153,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 62.143,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67203,
    "c": 0.13106,
    "h": 111.5
  },
  "luminance": 0.31076
}

Semantic roles & 50–950 ramp

primary
#999D2D
secondary
#6C69BD
accent
#49DF4E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #999D2D

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

Preview Lab → · Contrast checker → · Palette generator →

#999D2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva