#999938#999938

#999938 is a light, moderate yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.119 H 109.2°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#999938
RGBrgb(153, 153, 56)
HSLhsl(60, 46%, 41%)
HSVhsv(60, 63%, 60%)
CMYKcmyk(0%, 0%, 63.4%, 40%)
CIE-LABlab(61.52, -12.73, 49.29)
CIE-LCHlch(61.52, 50.91, 104.48°)
OKLaboklab(66.39% -0.0391 0.112)
OKLCHoklch(66.39% 0.119 109.2)
XYZxyz(25.2427, 29.8410, 8.1708)
Luminance0.2984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#999938 #383899
analogous
#996838 #999938 #689938
triadic
#999938 #389999 #993899
tetradic
#999938 #389968 #383899 #993868
square
#999938 #389968 #383899 #993868
split-complementary
#999938 #386899 #683899
monochromatic
#3F3F17 #6C6C28 #999938 #BFBF4F #CFCF7C

Accessibility & contrast

On white

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

On black

6.97
#999938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #999938
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##999938#FFFFFF#000000##000000
##9999381.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932C
Deuteranopia (green-blind)
#A6963E
Tritanopia (blue-blind)
#A39085
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #999938;
/* rgb */ color: rgb(153, 153, 56);
/* oklch */ color: oklch(66.4% 0.119 109.2);
Tailwind
colors: {
  custom: {
    50: '#bab673',
    500: '#999938',
    950: '#000000',
  },
}
SCSS
$custom: #999938;
$custom-light: #bab673;
$custom-dark: #000000;
JSON
{
  "hex": "#999938",
  "rgb": {
    "r": 153,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66386,
    "c": 0.11866,
    "h": 109.2
  },
  "luminance": 0.2984
}

Semantic roles & 50–950 ramp

primary
#999938
secondary
#7474B8
accent
#52D652
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #999938

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

Preview Lab → · Contrast checker → · Palette generator →

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