#958B2C#958B2C

#958B2C is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.114 H 103.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#958B2C
RGBrgb(149, 139, 44)
HSLhsl(54, 54%, 38%)
HSVhsv(54, 70%, 58%)
CMYKcmyk(0%, 6.7%, 70.5%, 41.6%)
CIE-LABlab(57.11, -7.76, 49.73)
CIE-LCHlch(57.11, 50.33, 98.87°)
OKLaboklab(62.76% -0.0261 0.1111)
OKLCHoklch(62.76% 0.114 103.2)
XYZxyz(22.0826, 25.0375, 6.0519)
Luminance0.2504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958B2C #2C3695
analogous
#95572C #958B2C #6A952C
triadic
#958B2C #2C958B #8B2C95
tetradic
#958B2C #2C9557 #2C3695 #952C6A
square
#958B2C #2C9557 #2C3695 #952C6A
split-complementary
#958B2C #2C6A95 #572C95
monochromatic
#373310 #665F1E #958B2C #C4B73A #D3C969

Accessibility & contrast

On white

3.50
#958B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#958B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958B2C
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958B2C#FFFFFF#000000##000000
##958B2C1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861E
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#A08178
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #958b2c;
/* rgb */ color: rgb(149, 139, 44);
/* oklch */ color: oklch(62.8% 0.114 103.2);
Tailwind
colors: {
  custom: {
    50: '#b7ac6b',
    500: '#958b2c',
    950: '#000000',
  },
}
SCSS
$custom: #958b2c;
$custom-light: #b7ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#958b2c",
  "rgb": {
    "r": 149,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 54.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62762,
    "c": 0.11412,
    "h": 103.2
  },
  "luminance": 0.25037
}

Semantic roles & 50–950 ramp

primary
#958B2C
secondary
#646CB9
accent
#58DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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