#958D2B#958D2B

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

Color values

HEX#958D2B
RGBrgb(149, 141, 43)
HSLhsl(55, 55%, 38%)
HSVhsv(55, 71%, 58%)
CMYKcmyk(0%, 5.4%, 71.1%, 41.6%)
CIE-LABlab(57.67, -8.90, 50.69)
CIE-LCHlch(57.67, 51.47, 99.95°)
OKLaboklab(63.2% -0.0295 0.1129)
OKLCHoklch(63.2% 0.117 104.6)
XYZxyz(22.3563, 25.6146, 6.0515)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958D2B #2B3395
analogous
#95582B #958D2B #68952B
triadic
#958D2B #2B958D #8D2B95
tetradic
#958D2B #2B9558 #2B3395 #952B68
square
#958D2B #2B9558 #2B3395 #952B68
split-complementary
#958D2B #2B6895 #582B95
monochromatic
#363310 #66601D #958D2B #C4BA39 #D3CB67

Accessibility & contrast

On white

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

On black

6.12
#958D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958D2B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958D2B#FFFFFF#000000##000000
##958D2B1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881C
Deuteranopia (green-blind)
#9C8D31
Tritanopia (blue-blind)
#A0837A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #958d2b;
/* rgb */ color: rgb(149, 141, 43);
/* oklch */ color: oklch(63.2% 0.117 104.6);
Tailwind
colors: {
  custom: {
    50: '#b7ae6b',
    500: '#958d2b',
    950: '#000000',
  },
}
SCSS
$custom: #958d2b;
$custom-light: #b7ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#958d2b",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 55.472,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63203,
    "c": 0.11672,
    "h": 104.6
  },
  "luminance": 0.25614
}

Semantic roles & 50–950 ramp

primary
#958D2B
secondary
#6269BA
accent
#55DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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