#958D2F#958D2F

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

Color values

HEX#958D2F
RGBrgb(149, 141, 47)
HSLhsl(55, 52%, 38%)
HSVhsv(55, 68%, 58%)
CMYKcmyk(0%, 5.4%, 68.5%, 41.6%)
CIE-LABlab(57.70, -8.67, 49.07)
CIE-LCHlch(57.70, 49.83, 100.02°)
OKLaboklab(63.24% -0.0284 0.1102)
OKLCHoklch(63.24% 0.114 104.4)
XYZxyz(22.4333, 25.6454, 6.4572)
Luminance0.2565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958D2F #2F3795
analogous
#955A2F #958D2F #6A952F
triadic
#958D2F #2F958D #8D2F95
tetradic
#958D2F #2F955A #2F3795 #952F6A
square
#958D2F #2F955A #2F3795 #952F6A
split-complementary
#958D2F #2F6A95 #5A2F95
monochromatic
#383512 #666120 #958D2F #C2B83F #D1C96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##958D2F#FFFFFF#000000##000000
##958D2F1.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)
#998822
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#A0837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #958d2f;
/* rgb */ color: rgb(149, 141, 47);
/* oklch */ color: oklch(63.2% 0.114 104.4);
Tailwind
colors: {
  custom: {
    50: '#b7ae6d',
    500: '#958d2f',
    950: '#000000',
  },
}
SCSS
$custom: #958d2f;
$custom-light: #b7ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#958d2f",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 55.294,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63236,
    "c": 0.11382,
    "h": 104.4
  },
  "luminance": 0.25645
}

Semantic roles & 50–950 ramp

primary
#958D2F
secondary
#676EB8
accent
#58DB4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #958D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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