#999942#999942

#999942 is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.110 H 109.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#999942
RGBrgb(153, 153, 66)
HSLhsl(60, 40%, 43%)
HSVhsv(60, 57%, 60%)
CMYKcmyk(0%, 0%, 56.9%, 40%)
CIE-LABlab(61.61, -11.99, 44.83)
CIE-LCHlch(61.61, 46.40, 104.98°)
OKLaboklab(66.49% -0.0359 0.1039)
OKLCHoklch(66.49% 0.11 109.1)
XYZxyz(25.5122, 29.9488, 9.5900)
Luminance0.2995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999942 #424299
analogous
#996D42 #999942 #6D9942
triadic
#999942 #429999 #994299
tetradic
#999942 #42996D #424299 #99426D
square
#999942 #42996D #424299 #99426D
split-complementary
#999942 #426D99 #6D4299
monochromatic
#43431D #6E6E30 #999942 #BABA5E #CCCC89

Accessibility & contrast

On white

3.00
#999942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#999942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #999942
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999942#FFFFFF#000000##000000
##9999421.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49339
Deuteranopia (green-blind)
#A59647
Tritanopia (blue-blind)
#A39086
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #999942;
/* rgb */ color: rgb(153, 153, 66);
/* oklch */ color: oklch(66.5% 0.110 109.1);
Tailwind
colors: {
  custom: {
    50: '#b9b67a',
    500: '#999942',
    950: '#000000',
  },
}
SCSS
$custom: #999942;
$custom-light: #b9b67a;
$custom-dark: #000000;
JSON
{
  "hex": "#999942",
  "rgb": {
    "r": 153,
    "g": 153,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 39.726,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6649,
    "c": 0.10994,
    "h": 109.1
  },
  "luminance": 0.29948
}

Semantic roles & 50–950 ramp

primary
#999942
secondary
#8080B7
accent
#58D058
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #999942

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

Preview Lab → · Contrast checker → · Palette generator →

#999942 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva