#958D2A#958D2A

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

Color values

HEX#958D2A
RGBrgb(149, 141, 42)
HSLhsl(56, 56%, 37%)
HSVhsv(56, 72%, 58%)
CMYKcmyk(0%, 5.4%, 71.8%, 41.6%)
CIE-LABlab(57.66, -8.95, 51.08)
CIE-LCHlch(57.66, 51.86, 99.94°)
OKLaboklab(63.2% -0.0297 0.1136)
OKLCHoklch(63.2% 0.117 104.7)
XYZxyz(22.3381, 25.6073, 5.9561)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958D2A #2A3295
analogous
#95582A #958D2A #68952A
triadic
#958D2A #2A958D #8D2A95
tetradic
#958D2A #2A9558 #2A3295 #952A68
square
#958D2A #2A9558 #2A3295 #952A68
split-complementary
#958D2A #2A6895 #582A95
monochromatic
#36330F #65601D #958D2A #C5BA37 #D4CC66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##958D2A#FFFFFF#000000##000000
##958D2A1.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)
#9A881A
Deuteranopia (green-blind)
#9C8D31
Tritanopia (blue-blind)
#A08379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #958d2a;
/* rgb */ color: rgb(149, 141, 42);
/* oklch */ color: oklch(63.2% 0.117 104.7);
Tailwind
colors: {
  custom: {
    50: '#b7ae6a',
    500: '#958d2a',
    950: '#000000',
  },
}
SCSS
$custom: #958d2a;
$custom-light: #b7ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#958d2a",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 55.514,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63195,
    "c": 0.11741,
    "h": 104.7
  },
  "luminance": 0.25606
}

Semantic roles & 50–950 ramp

primary
#958D2A
secondary
#6168BA
accent
#54DF48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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