#959E1F#959E1F

#959E1F is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.0% C 0.141 H 113.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#959E1F
RGBrgb(149, 158, 31)
HSLhsl(64, 67%, 37%)
HSVhsv(64, 80%, 62%)
CMYKcmyk(5.7%, 0%, 80.4%, 38%)
CIE-LABlab(62.46, -18.39, 59.34)
CIE-LCHlch(62.46, 62.13, 107.21°)
OKLaboklab(67.01% -0.0571 0.1291)
OKLCHoklch(67.01% 0.141 113.9)
XYZxyz(24.8694, 30.9427, 5.9585)
Luminance0.3094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959E1F #281F9E
analogous
#9E681F #959E1F #569E1F
triadic
#959E1F #1F959E #9E1F95
tetradic
#959E1F #1F9E68 #281F9E #9E1F56
square
#959E1F #1F9E68 #281F9E #9E1F56
split-complementary
#959E1F #1F569E #681F9E
monochromatic
#35380B #656B15 #959E1F #C5D129 #D5DE59

Accessibility & contrast

On white

2.92
#959E1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#959E1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959E1F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959E1F#FFFFFF#000000##000000
##959E1F1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AA982B
Tritanopia (blue-blind)
#9F9487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #959e1f;
/* rgb */ color: rgb(149, 158, 31);
/* oklch */ color: oklch(67.0% 0.141 113.9);
Tailwind
colors: {
  custom: {
    50: '#b8ba67',
    500: '#959e1f',
    950: '#000000',
  },
}
SCSS
$custom: #959e1f;
$custom-light: #b8ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#959e1f",
  "rgb": {
    "r": 149,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 64.252,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67008,
    "c": 0.14112,
    "h": 113.9
  },
  "luminance": 0.30942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #959E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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