#949D3B#949D3B

#949D3B is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.9% C 0.122 H 114.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#949D3B
RGBrgb(148, 157, 59)
HSLhsl(66, 45%, 42%)
HSVhsv(66, 62%, 62%)
CMYKcmyk(5.7%, 0%, 62.4%, 38.4%)
CIE-LABlab(62.28, -16.78, 48.66)
CIE-LCHlch(62.28, 51.47, 109.03°)
OKLaboklab(66.9% -0.0499 0.1113)
OKLCHoklch(66.9% 0.122 114.1)
XYZxyz(25.0597, 30.7260, 8.7474)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D3B #443B9D
analogous
#9D753B #949D3B #639D3B
triadic
#949D3B #3B949D #9D3B94
tetradic
#949D3B #3B9D75 #443B9D #9D3B63
square
#949D3B #3B9D75 #443B9D #9D3B63
split-complementary
#949D3B #3B639D #753B9D
monochromatic
#40441A #6A712A #949D3B #B6BF56 #C9D082

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949D3B#FFFFFF#000000##000000
##949D3B1.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)
#A8962F
Deuteranopia (green-blind)
#A79841
Tritanopia (blue-blind)
#9D9488
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949d3b;
/* rgb */ color: rgb(148, 157, 59);
/* oklch */ color: oklch(66.9% 0.122 114.1);
Tailwind
colors: {
  custom: {
    50: '#b6b975',
    500: '#949d3b',
    950: '#000000',
  },
}
SCSS
$custom: #949d3b;
$custom-light: #b6b975;
$custom-dark: #000000;
JSON
{
  "hex": "#949d3b",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 59
  },
  "hsl": {
    "h": 65.51,
    "s": 45.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.669,
    "c": 0.12193,
    "h": 114.1
  },
  "luminance": 0.30726
}

Semantic roles & 50–950 ramp

primary
#949D3B
secondary
#807ABA
accent
#53D55F
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #949D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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