#958D2D#958D2D

#958D2D is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.115 H 104.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#958D2D
RGBrgb(149, 141, 45)
HSLhsl(55, 54%, 38%)
HSVhsv(55, 70%, 58%)
CMYKcmyk(0%, 5.4%, 69.8%, 41.6%)
CIE-LABlab(57.68, -8.79, 49.89)
CIE-LCHlch(57.68, 50.66, 99.99°)
OKLaboklab(63.22% -0.0289 0.1116)
OKLCHoklch(63.22% 0.115 104.5)
XYZxyz(22.3939, 25.6296, 6.2495)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958D2D #2D3595
analogous
#95592D #958D2D #69952D
triadic
#958D2D #2D958D #8D2D95
tetradic
#958D2D #2D9559 #2D3595 #952D69
square
#958D2D #2D9559 #2D3595 #952D69
split-complementary
#958D2D #2D6995 #592D95
monochromatic
#373411 #66611F #958D2D #C4B93B #D2CA6A

Accessibility & contrast

On white

3.43
#958D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#958D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958D2D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958D2D#FFFFFF#000000##000000
##958D2D1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881F
Deuteranopia (green-blind)
#9C8D33
Tritanopia (blue-blind)
#A0837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #958d2d;
/* rgb */ color: rgb(149, 141, 45);
/* oklch */ color: oklch(63.2% 0.115 104.5);
Tailwind
colors: {
  custom: {
    50: '#b7ae6c',
    500: '#958d2d',
    950: '#000000',
  },
}
SCSS
$custom: #958d2d;
$custom-light: #b7ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#958d2d",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 55.385,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63219,
    "c": 0.1153,
    "h": 104.5
  },
  "luminance": 0.25629
}

Semantic roles & 50–950 ramp

primary
#958D2D
secondary
#656BB9
accent
#56DD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #958D2D

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

Preview Lab → · Contrast checker → · Palette generator →

#958D2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva