#999D2A#999D2A

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

Color values

HEX#999D2A
RGBrgb(153, 157, 42)
HSLhsl(62, 58%, 39%)
HSVhsv(62, 73%, 62%)
CMYKcmyk(2.5%, 0%, 73.2%, 38.4%)
CIE-LABlab(62.55, -15.64, 55.95)
CIE-LCHlch(62.55, 58.10, 105.61°)
OKLaboklab(67.18% -0.0487 0.1237)
OKLCHoklch(67.18% 0.133 111.5)
XYZxyz(25.6126, 31.0541, 6.8349)
Luminance0.3105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999D2A #2E2A9D
analogous
#9D682A #999D2A #609D2A
triadic
#999D2A #2A999D #9D2A99
tetradic
#999D2A #2A9D68 #2E2A9D #9D2A60
square
#999D2A #2A9D68 #2E2A9D #9D2A60
split-complementary
#999D2A #2A609D #682A9D
monochromatic
#3B3C10 #6A6D1D #999D2A #C5CA3A #D3D76A

Accessibility & contrast

On white

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

On black

7.21
#999D2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #999D2A
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999D2A#FFFFFF#000000##000000
##999D2A1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #999d2a;
/* rgb */ color: rgb(153, 157, 42);
/* oklch */ color: oklch(67.2% 0.133 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab96c',
    500: '#999d2a',
    950: '#000000',
  },
}
SCSS
$custom: #999d2a;
$custom-light: #bab96c;
$custom-dark: #000000;
JSON
{
  "hex": "#999d2a",
  "rgb": {
    "r": 153,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 62.087,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67182,
    "c": 0.13296,
    "h": 111.5
  },
  "luminance": 0.31053
}

Semantic roles & 50–950 ramp

primary
#999D2A
secondary
#6865BE
accent
#47E14C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #999D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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