#999D2E#999D2E

#999D2E 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#999D2E
RGBrgb(153, 157, 46)
HSLhsl(62, 55%, 40%)
HSVhsv(62, 71%, 62%)
CMYKcmyk(2.5%, 0%, 70.7%, 38.4%)
CIE-LABlab(62.58, -15.43, 54.49)
CIE-LCHlch(62.58, 56.63, 105.81°)
OKLaboklab(67.21% -0.0477 0.1214)
OKLCHoklch(67.21% 0.13 111.5)
XYZxyz(25.6878, 31.0841, 7.2309)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999D2E #322E9D
analogous
#9D692E #999D2E #629D2E
triadic
#999D2E #2E999D #9D2E99
tetradic
#999D2E #2E9D69 #322E9D #9D2E62
square
#999D2E #2E9D69 #322E9D #9D2E62
split-complementary
#999D2E #2E629D #692E9D
monochromatic
#3D3E12 #6B6E20 #999D2E #C2C741 #D2D570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##999D2E#FFFFFF#000000##000000
##999D2E1.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)
#A9961B
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#A49387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #999d2e;
/* rgb */ color: rgb(153, 157, 46);
/* oklch */ color: oklch(67.2% 0.130 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab96e',
    500: '#999d2e',
    950: '#000000',
  },
}
SCSS
$custom: #999d2e;
$custom-light: #bab96e;
$custom-dark: #000000;
JSON
{
  "hex": "#999d2e",
  "rgb": {
    "r": 153,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 62.162,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6721,
    "c": 0.13041,
    "h": 111.5
  },
  "luminance": 0.31084
}

Semantic roles & 50–950 ramp

primary
#999D2E
secondary
#6D6ABD
accent
#4ADE4F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #999D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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