#949D1D#949D1D

#949D1D is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.7% C 0.141 H 113.9°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#949D1D
RGBrgb(148, 157, 29)
HSLhsl(64, 69%, 36%)
HSVhsv(64, 82%, 62%)
CMYKcmyk(5.7%, 0%, 81.5%, 38.4%)
CIE-LABlab(62.08, -18.39, 59.55)
CIE-LCHlch(62.08, 62.32, 107.16°)
OKLaboklab(66.68% -0.0572 0.1292)
OKLCHoklch(66.68% 0.141 113.9)
XYZxyz(24.4923, 30.4991, 5.7589)
Luminance0.3050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D1D #261D9D
analogous
#9D661D #949D1D #549D1D
triadic
#949D1D #1D949D #9D1D94
tetradic
#949D1D #1D9D66 #261D9D #9D1D54
square
#949D1D #1D9D66 #261D9D #9D1D54
split-complementary
#949D1D #1D549D #661D9D
monochromatic
#33360A #636913 #949D1D #C5D127 #D6E055

Accessibility & contrast

On white

2.96
#949D1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#949D1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D1D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D1D#FFFFFF#000000##000000
##949D1D1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A9972A
Tritanopia (blue-blind)
#9E9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d1d;
/* rgb */ color: rgb(148, 157, 29);
/* oklch */ color: oklch(66.7% 0.141 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7b966',
    500: '#949d1d',
    950: '#000000',
  },
}
SCSS
$custom: #949d1d;
$custom-light: #b7b966;
$custom-dark: #000000;
JSON
{
  "hex": "#949d1d",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 29
  },
  "hsl": {
    "h": 64.219,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66684,
    "c": 0.14127,
    "h": 113.9
  },
  "luminance": 0.30499
}

Semantic roles & 50–950 ramp

primary
#949D1D
secondary
#5B53C3
accent
#3CEC48
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #949D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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