#949D2D#949D2D

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

Color values

HEX#949D2D
RGBrgb(148, 157, 45)
HSLhsl(65, 55%, 40%)
HSVhsv(65, 71%, 62%)
CMYKcmyk(5.7%, 0%, 71.3%, 38.4%)
CIE-LABlab(62.17, -17.67, 54.33)
CIE-LCHlch(62.17, 57.13, 108.02°)
OKLaboklab(66.78% -0.0538 0.121)
OKLCHoklch(66.78% 0.132 114)
XYZxyz(24.7441, 30.5998, 7.0850)
Luminance0.3060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D2D #362D9D
analogous
#9D6E2D #949D2D #5C9D2D
triadic
#949D2D #2D949D #9D2D94
tetradic
#949D2D #2D9D6E #362D9D #9D2D5C
square
#949D2D #2D9D6E #362D9D #9D2D5C
split-complementary
#949D2D #2D5C9D #6E2D9D
monochromatic
#3A3E12 #676D1F #949D2D #BDC83F #CDD66F

Accessibility & contrast

On white

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

On black

7.12
#949D2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D2D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D2D#FFFFFF#000000##000000
##949D2D1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #949d2d;
/* rgb */ color: rgb(148, 157, 45);
/* oklch */ color: oklch(66.8% 0.132 114.0);
Tailwind
colors: {
  custom: {
    50: '#b6b96e',
    500: '#949d2d',
    950: '#000000',
  },
}
SCSS
$custom: #949d2d;
$custom-light: #b6b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#949d2d",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 64.821,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6678,
    "c": 0.13243,
    "h": 114
  },
  "luminance": 0.30599
}

Semantic roles & 50–950 ramp

primary
#949D2D
secondary
#7069BD
accent
#49DF55
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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