#999940#999940

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

Color values

HEX#999940
RGBrgb(153, 153, 64)
HSLhsl(60, 41%, 43%)
HSVhsv(60, 58%, 60%)
CMYKcmyk(0%, 0%, 58.2%, 40%)
CIE-LABlab(61.59, -12.15, 45.74)
CIE-LCHlch(61.59, 47.33, 104.88°)
OKLaboklab(66.47% -0.0366 0.1056)
OKLCHoklch(66.47% 0.112 109.1)
XYZxyz(25.4542, 29.9256, 9.2849)
Luminance0.2993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999940 #404099
analogous
#996C40 #999940 #6C9940
triadic
#999940 #409999 #994099
tetradic
#999940 #40996C #404099 #99406C
square
#999940 #40996C #404099 #99406C
split-complementary
#999940 #406C99 #6C4099
monochromatic
#43431C #6E6E2E #999940 #BBBB5C #CDCD87

Accessibility & contrast

On white

3.01
#999940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##999940#FFFFFF#000000##000000
##9999401.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #999940;
/* rgb */ color: rgb(153, 153, 64);
/* oklch */ color: oklch(66.5% 0.112 109.1);
Tailwind
colors: {
  custom: {
    50: '#b9b678',
    500: '#999940',
    950: '#000000',
  },
}
SCSS
$custom: #999940;
$custom-light: #b9b678;
$custom-dark: #000000;
JSON
{
  "hex": "#999940",
  "rgb": {
    "r": 153,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66468,
    "c": 0.11178,
    "h": 109.1
  },
  "luminance": 0.29925
}

Semantic roles & 50–950 ramp

primary
#999940
secondary
#7E7EB7
accent
#57D157
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #999940

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

Preview Lab → · Contrast checker → · Palette generator →

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