#9E9937#9E9937

#9E9937 is a light, moderate yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.119 H 106.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9E9937
RGBrgb(158, 153, 55)
HSLhsl(57, 48%, 42%)
HSVhsv(57, 65%, 62%)
CMYKcmyk(0%, 3.2%, 65.2%, 38%)
CIE-LABlab(61.94, -10.60, 50.30)
CIE-LCHlch(61.94, 51.40, 101.90°)
OKLaboklab(66.82% -0.0335 0.1139)
OKLCHoklch(66.82% 0.119 106.4)
XYZxyz(26.1823, 30.3283, 8.0885)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9937 #373C9E
analogous
#9E6637 #9E9937 #709E37
triadic
#9E9937 #379E99 #99379E
tetradic
#9E9937 #379E66 #373C9E #9E3770
square
#9E9937 #379E66 #373C9E #9E3770
split-complementary
#9E9937 #37709E #66379E
monochromatic
#434117 #716D27 #9E9937 #C2BD50 #D2CE7D

Accessibility & contrast

On white

2.97
#9E9937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#9E9937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9937
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9937#FFFFFF#000000##000000
##9E99371.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6932A
Deuteranopia (green-blind)
#A8983D
Tritanopia (blue-blind)
#A98F85
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9e9937;
/* rgb */ color: rgb(158, 153, 55);
/* oklch */ color: oklch(66.8% 0.119 106.4);
Tailwind
colors: {
  custom: {
    50: '#bdb673',
    500: '#9e9937',
    950: '#000000',
  },
}
SCSS
$custom: #9e9937;
$custom-light: #bdb673;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9937",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 55
  },
  "hsl": {
    "h": 57.087,
    "s": 48.357,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66822,
    "c": 0.1187,
    "h": 106.4
  },
  "luminance": 0.30327
}

Semantic roles & 50–950 ramp

primary
#9E9937
secondary
#7679BB
accent
#56D850
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9E9937

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

Preview Lab → · Contrast checker → · Palette generator →

#9E9937 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva