#959D1F#959D1F

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

Color values

HEX#959D1F
RGBrgb(149, 157, 31)
HSLhsl(64, 67%, 37%)
HSVhsv(64, 80%, 62%)
CMYKcmyk(5.1%, 0%, 80.3%, 38.4%)
CIE-LABlab(62.17, -17.87, 59.09)
CIE-LCHlch(62.17, 61.73, 106.83°)
OKLaboklab(66.78% -0.0557 0.1285)
OKLCHoklch(66.78% 0.14 113.4)
XYZxyz(24.6995, 30.6030, 5.9019)
Luminance0.3060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959D1F #271F9D
analogous
#9D661F #959D1F #569D1F
triadic
#959D1F #1F959D #9D1F95
tetradic
#959D1F #1F9D66 #271F9D #9D1F56
square
#959D1F #1F9D66 #271F9D #9D1F56
split-complementary
#959D1F #1F569D #661F9D
monochromatic
#34370B #646A15 #959D1F #C6D029 #D6DE58

Accessibility & contrast

On white

2.95
#959D1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#959D1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959D1F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

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

Design tokens & code

CSS
--color: #959d1f;
/* rgb */ color: rgb(149, 157, 31);
/* oklch */ color: oklch(66.8% 0.140 113.4);
Tailwind
colors: {
  custom: {
    50: '#b8b967',
    500: '#959d1f',
    950: '#000000',
  },
}
SCSS
$custom: #959d1f;
$custom-light: #b8b967;
$custom-dark: #000000;
JSON
{
  "hex": "#959d1f",
  "rgb": {
    "r": 149,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 63.81,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66777,
    "c": 0.14005,
    "h": 113.4
  },
  "luminance": 0.30602
}

Semantic roles & 50–950 ramp

primary
#959D1F
secondary
#5D56C2
accent
#3EEA49
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #959D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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