#949D1F#949D1F

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

Color values

HEX#949D1F
RGBrgb(148, 157, 31)
HSLhsl(64, 67%, 37%)
HSVhsv(64, 80%, 62%)
CMYKcmyk(5.7%, 0%, 80.3%, 38.4%)
CIE-LABlab(62.09, -18.31, 58.99)
CIE-LCHlch(62.09, 61.76, 107.25°)
OKLaboklab(66.69% -0.0568 0.1283)
OKLCHoklch(66.69% 0.14 113.9)
XYZxyz(24.5178, 30.5093, 5.8934)
Luminance0.3051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D1F #281F9D
analogous
#9D671F #949D1F #559D1F
triadic
#949D1F #1F949D #9D1F94
tetradic
#949D1F #1F9D67 #281F9D #9D1F55
square
#949D1F #1F9D67 #281F9D #9D1F55
split-complementary
#949D1F #1F559D #671F9D
monochromatic
#34370B #646A15 #949D1F #C4D029 #D5DE58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949D1F#FFFFFF#000000##000000
##949D1F1.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)
#A9972B
Tritanopia (blue-blind)
#9E9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d1f;
/* rgb */ color: rgb(148, 157, 31);
/* oklch */ color: oklch(66.7% 0.140 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7b967',
    500: '#949d1f',
    950: '#000000',
  },
}
SCSS
$custom: #949d1f;
$custom-light: #b7b967;
$custom-dark: #000000;
JSON
{
  "hex": "#949d1f",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 64.286,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66693,
    "c": 0.14035,
    "h": 113.9
  },
  "luminance": 0.30509
}

Semantic roles & 50–950 ramp

primary
#949D1F
secondary
#5E56C2
accent
#3EEA4A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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