#958D2E#958D2E

#958D2E 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#958D2E
RGBrgb(149, 141, 46)
HSLhsl(55, 53%, 38%)
HSVhsv(55, 69%, 58%)
CMYKcmyk(0%, 5.4%, 69.1%, 41.6%)
CIE-LABlab(57.69, -8.73, 49.49)
CIE-LCHlch(57.69, 50.25, 100.00°)
OKLaboklab(63.23% -0.0287 0.1109)
OKLCHoklch(63.23% 0.115 104.5)
XYZxyz(22.4133, 25.6374, 6.3521)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958D2E #2E3695
analogous
#95592E #958D2E #69952E
triadic
#958D2E #2E958D #8D2E95
tetradic
#958D2E #2E9559 #2E3695 #952E69
square
#958D2E #2E9559 #2E3695 #952E69
split-complementary
#958D2E #2E6995 #592E95
monochromatic
#373411 #666120 #958D2E #C3B93D #D2CA6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##958D2E#FFFFFF#000000##000000
##958D2E1.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)
#998820
Deuteranopia (green-blind)
#9C8D34
Tritanopia (blue-blind)
#A0837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #958d2e;
/* rgb */ color: rgb(149, 141, 46);
/* oklch */ color: oklch(63.2% 0.115 104.5);
Tailwind
colors: {
  custom: {
    50: '#b7ae6c',
    500: '#958d2e',
    950: '#000000',
  },
}
SCSS
$custom: #958d2e;
$custom-light: #b7ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#958d2e",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 55.34,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63227,
    "c": 0.11457,
    "h": 104.5
  },
  "luminance": 0.25637
}

Semantic roles & 50–950 ramp

primary
#958D2E
secondary
#666DB9
accent
#57DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #958D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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