#9E9D3D#9E9D3D

#9E9D3D is a light, moderate yellow. Relative luminance 0.317; OKLCH L 67.8% C 0.118 H 108.6°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9E9D3D
RGBrgb(158, 157, 61)
HSLhsl(59, 44%, 43%)
HSVhsv(59, 61%, 62%)
CMYKcmyk(0%, 0.6%, 61.4%, 38%)
CIE-LABlab(63.11, -12.31, 48.91)
CIE-LCHlch(63.11, 50.44, 104.13°)
OKLaboklab(67.77% -0.0377 0.1118)
OKLCHoklch(67.77% 0.118 108.6)
XYZxyz(27.0007, 31.7207, 9.1144)
Luminance0.3172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9D3D #3D3E9E
analogous
#9E6C3D #9E9D3D #6F9E3D
triadic
#9E9D3D #3D9E9D #9D3D9E
tetradic
#9E9D3D #3D9E6C #3D3E9E #9E3D6F
square
#9E9D3D #3D9E6C #3D3E9E #9E3D6F
split-complementary
#9E9D3D #3D6F9E #6C3D9E
monochromatic
#46451B #72712C #9E9D3D #BFBE59 #D0CF85

Accessibility & contrast

On white

2.86
#9E9D3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#9E9D3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9D3D
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9D3D#FFFFFF#000000##000000
##9E9D3D1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99732
Deuteranopia (green-blind)
#AB9A43
Tritanopia (blue-blind)
#A99389
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9e9d3d;
/* rgb */ color: rgb(158, 157, 61);
/* oklch */ color: oklch(67.8% 0.118 108.6);
Tailwind
colors: {
  custom: {
    50: '#bdb977',
    500: '#9e9d3d',
    950: '#000000',
  },
}
SCSS
$custom: #9e9d3d;
$custom-light: #bdb977;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9d3d",
  "rgb": {
    "r": 158,
    "g": 157,
    "b": 61
  },
  "hsl": {
    "h": 59.381,
    "s": 44.292,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67774,
    "c": 0.11801,
    "h": 108.6
  },
  "luminance": 0.3172
}

Semantic roles & 50–950 ramp

primary
#9E9D3D
secondary
#7D7DBA
accent
#55D454
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9E9D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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