#958E2B#958E2B

#958E2B is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.4% C 0.118 H 105.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#958E2B
RGBrgb(149, 142, 43)
HSLhsl(56, 55%, 38%)
HSVhsv(56, 71%, 58%)
CMYKcmyk(0%, 4.7%, 71.1%, 41.6%)
CIE-LABlab(57.95, -9.44, 50.97)
CIE-LCHlch(57.95, 51.84, 100.49°)
OKLaboklab(63.43% -0.031 0.1135)
OKLCHoklch(63.43% 0.118 105.3)
XYZxyz(22.5044, 25.9108, 6.1009)
Luminance0.2591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958E2B #2B3295
analogous
#95592B #958E2B #67952B
triadic
#958E2B #2B958E #8E2B95
tetradic
#958E2B #2B9559 #2B3295 #952B67
square
#958E2B #2B9559 #2B3295 #952B67
split-complementary
#958E2B #2B6795 #592B95
monochromatic
#363310 #66611D #958E2B #C4BB39 #D3CC67

Accessibility & contrast

On white

3.40
#958E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#958E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958E2B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958E2B#FFFFFF#000000##000000
##958E2B1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891B
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#A0847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #958e2b;
/* rgb */ color: rgb(149, 142, 43);
/* oklch */ color: oklch(63.4% 0.118 105.3);
Tailwind
colors: {
  custom: {
    50: '#b7ae6b',
    500: '#958e2b',
    950: '#000000',
  },
}
SCSS
$custom: #958e2b;
$custom-light: #b7ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#958e2b",
  "rgb": {
    "r": 149,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 56.038,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63428,
    "c": 0.11768,
    "h": 105.3
  },
  "luminance": 0.2591
}

Semantic roles & 50–950 ramp

primary
#958E2B
secondary
#6268BA
accent
#53DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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