#958A2D#958A2D

#958A2D is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.5% C 0.112 H 102.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#958A2D
RGBrgb(149, 138, 45)
HSLhsl(54, 54%, 38%)
HSVhsv(54, 70%, 58%)
CMYKcmyk(0%, 7.4%, 69.8%, 41.6%)
CIE-LABlab(56.84, -7.16, 49.04)
CIE-LCHlch(56.84, 49.56, 98.31°)
OKLaboklab(62.55% -0.0243 0.1098)
OKLCHoklch(62.55% 0.112 102.5)
XYZxyz(21.9575, 24.7569, 6.1041)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958A2D #2D3895
analogous
#95562D #958A2D #6C952D
triadic
#958A2D #2D958A #8A2D95
tetradic
#958A2D #2D9556 #2D3895 #952D6C
square
#958A2D #2D9556 #2D3895 #952D6C
split-complementary
#958A2D #2D6C95 #562D95
monochromatic
#373311 #665E1F #958A2D #C4B53B #D2C76A

Accessibility & contrast

On white

3.53
#958A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#958A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958A2D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958A2D#FFFFFF#000000##000000
##958A2D1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978620
Deuteranopia (green-blind)
#9A8B33
Tritanopia (blue-blind)
#A08077
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #958a2d;
/* rgb */ color: rgb(149, 138, 45);
/* oklch */ color: oklch(62.5% 0.112 102.5);
Tailwind
colors: {
  custom: {
    50: '#b7ab6c',
    500: '#958a2d',
    950: '#000000',
  },
}
SCSS
$custom: #958a2d;
$custom-light: #b7ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#958a2d",
  "rgb": {
    "r": 149,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 53.654,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62546,
    "c": 0.11247,
    "h": 102.5
  },
  "luminance": 0.24756
}

Semantic roles & 50–950 ramp

primary
#958A2D
secondary
#656EB9
accent
#5ADD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #958A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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