#949D31#949D31

#949D31 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.8% C 0.130 H 114.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#949D31
RGBrgb(148, 157, 49)
HSLhsl(65, 52%, 40%)
HSVhsv(65, 69%, 62%)
CMYKcmyk(5.7%, 0%, 68.8%, 38.4%)
CIE-LABlab(62.20, -17.44, 52.80)
CIE-LCHlch(62.20, 55.61, 108.28°)
OKLaboklab(66.81% -0.0528 0.1185)
OKLCHoklch(66.81% 0.13 114)
XYZxyz(24.8248, 30.6321, 7.5100)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D31 #3A319D
analogous
#9D7031 #949D31 #5E9D31
triadic
#949D31 #31949D #9D3194
tetradic
#949D31 #319D70 #3A319D #9D315E
square
#949D31 #319D70 #3A319D #9D315E
split-complementary
#949D31 #315E9D #70319D
monochromatic
#3C4014 #686E22 #949D31 #BBC546 #CCD475

Accessibility & contrast

On white

2.95
#949D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#949D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D31
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D31#FFFFFF#000000##000000
##949D311.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89521
Deuteranopia (green-blind)
#A89739
Tritanopia (blue-blind)
#9E9487
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d31;
/* rgb */ color: rgb(148, 157, 49);
/* oklch */ color: oklch(66.8% 0.130 114.0);
Tailwind
colors: {
  custom: {
    50: '#b6b970',
    500: '#949d31',
    950: '#000000',
  },
}
SCSS
$custom: #949d31;
$custom-light: #b6b970;
$custom-dark: #000000;
JSON
{
  "hex": "#949d31",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 65,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66811,
    "c": 0.12967,
    "h": 114
  },
  "luminance": 0.30632
}

Semantic roles & 50–950 ramp

primary
#949D31
secondary
#746EBC
accent
#4CDC58
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #949D31

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

Preview Lab → · Contrast checker → · Palette generator →

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