#999D2F#999D2F

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

Color values

HEX#999D2F
RGBrgb(153, 157, 47)
HSLhsl(62, 54%, 40%)
HSVhsv(62, 70%, 62%)
CMYKcmyk(2.5%, 0%, 70.1%, 38.4%)
CIE-LABlab(62.59, -15.38, 54.11)
CIE-LCHlch(62.59, 56.25, 105.86°)
OKLaboklab(67.22% -0.0475 0.1207)
OKLCHoklch(67.22% 0.13 111.5)
XYZxyz(25.7077, 31.0921, 7.3359)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999D2F #332F9D
analogous
#9D6A2F #999D2F #629D2F
triadic
#999D2F #2F999D #9D2F99
tetradic
#999D2F #2F9D6A #332F9D #9D2F62
square
#999D2F #2F9D6A #332F9D #9D2F62
split-complementary
#999D2F #2F629D #6A2F9D
monochromatic
#3D3F13 #6B6E21 #999D2F #C2C743 #D1D572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##999D2F#FFFFFF#000000##000000
##999D2F1.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)
#A9961D
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#A49387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #999d2f;
/* rgb */ color: rgb(153, 157, 47);
/* oklch */ color: oklch(67.2% 0.130 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab96f',
    500: '#999d2f',
    950: '#000000',
  },
}
SCSS
$custom: #999d2f;
$custom-light: #bab96f;
$custom-dark: #000000;
JSON
{
  "hex": "#999d2f",
  "rgb": {
    "r": 153,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 62.182,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.67217,
    "c": 0.12973,
    "h": 111.5
  },
  "luminance": 0.31091
}

Semantic roles & 50–950 ramp

primary
#999D2F
secondary
#6E6BBC
accent
#4BDD50
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #999D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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