#949D3F#949D3F

#949D3F is a light, moderate yellow. Relative luminance 0.308; OKLCH L 66.9% C 0.118 H 114.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#949D3F
RGBrgb(148, 157, 63)
HSLhsl(66, 43%, 43%)
HSVhsv(66, 60%, 62%)
CMYKcmyk(5.7%, 0%, 59.9%, 38.4%)
CIE-LABlab(62.31, -16.48, 46.90)
CIE-LCHlch(62.31, 49.71, 109.36°)
OKLaboklab(66.94% -0.0486 0.1081)
OKLCHoklch(66.94% 0.118 114.2)
XYZxyz(25.1675, 30.7691, 9.3149)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D3F #483F9D
analogous
#9D773F #949D3F #659D3F
triadic
#949D3F #3F949D #9D3F94
tetradic
#949D3F #3F9D77 #483F9D #9D3F65
square
#949D3F #3F9D77 #483F9D #9D3F65
split-complementary
#949D3F #3F659D #773F9D
monochromatic
#42461C #6B712D #949D3F #B4BD5C #C8CF87

Accessibility & contrast

On white

2.94
#949D3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#949D3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D3F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D3F#FFFFFF#000000##000000
##949D3F1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89634
Deuteranopia (green-blind)
#A79845
Tritanopia (blue-blind)
#9D9489
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949d3f;
/* rgb */ color: rgb(148, 157, 63);
/* oklch */ color: oklch(66.9% 0.118 114.2);
Tailwind
colors: {
  custom: {
    50: '#b6b978',
    500: '#949d3f',
    950: '#000000',
  },
}
SCSS
$custom: #949d3f;
$custom-light: #b6b978;
$custom-dark: #000000;
JSON
{
  "hex": "#949d3f",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 63
  },
  "hsl": {
    "h": 65.745,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66941,
    "c": 0.11848,
    "h": 114.2
  },
  "luminance": 0.30769
}

Semantic roles & 50–950 ramp

primary
#949D3F
secondary
#847EBA
accent
#55D361
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #949D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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