#949D5B#949D5B

#949D5B is a light, moderate yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.090 H 115.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#949D5B
RGBrgb(148, 157, 91)
HSLhsl(68, 27%, 49%)
HSVhsv(68, 42%, 62%)
CMYKcmyk(5.7%, 0%, 42%, 38.4%)
CIE-LABlab(62.65, -13.76, 33.39)
CIE-LCHlch(62.65, 36.11, 112.40°)
OKLaboklab(67.32% -0.0382 0.0811)
OKLCHoklch(67.32% 0.09 115.2)
XYZxyz(26.1583, 31.1655, 14.5330)
Luminance0.3116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D5B #645B9D
analogous
#9D855B #949D5B #739D5B
triadic
#949D5B #5B949D #9D5B94
tetradic
#949D5B #5B9D85 #645B9D #9D5B73
square
#949D5B #5B9D85 #645B9D #9D5B73
split-complementary
#949D5B #5B739D #855B9D
monochromatic
#4B502E #6F7645 #949D5B #AEB580 #C7CCA7

Accessibility & contrast

On white

2.90
#949D5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#949D5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D5B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D5B#FFFFFF#000000##000000
##949D5B1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59756
Deuteranopia (green-blind)
#A5985E
Tritanopia (blue-blind)
#9B968D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949d5b;
/* rgb */ color: rgb(148, 157, 91);
/* oklch */ color: oklch(67.3% 0.090 115.2);
Tailwind
colors: {
  custom: {
    50: '#b4b98a',
    500: '#949d5b',
    950: '#000000',
  },
}
SCSS
$custom: #949d5b;
$custom-light: #b4b98a;
$custom-dark: #000000;
JSON
{
  "hex": "#949d5b",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 91
  },
  "hsl": {
    "h": 68.182,
    "s": 26.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.67317,
    "c": 0.0896,
    "h": 115.2
  },
  "luminance": 0.31165
}

Semantic roles & 50–950 ramp

primary
#949D5B
secondary
#9E9ABA
accent
#65C372
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D

Preview Lab

Preview with #949D5B

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

Preview Lab → · Contrast checker → · Palette generator →

#949D5B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva