#959F2D#959F2D

#959F2D is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.3% C 0.134 H 114.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#959F2D
RGBrgb(149, 159, 45)
HSLhsl(65, 56%, 40%)
HSVhsv(65, 72%, 62%)
CMYKcmyk(6.3%, 0%, 71.7%, 37.6%)
CIE-LABlab(62.82, -18.26, 55.00)
CIE-LCHlch(62.82, 57.95, 108.37°)
OKLaboklab(67.33% -0.0555 0.1224)
OKLCHoklch(67.33% 0.134 114.4)
XYZxyz(25.2669, 31.3758, 7.2072)
Luminance0.3137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959F2D #372D9F
analogous
#9F702D #959F2D #5C9F2D
triadic
#959F2D #2D959F #9F2D95
tetradic
#959F2D #2D9F70 #372D9F #9F2D5C
square
#959F2D #2D9F70 #372D9F #9F2D5C
split-complementary
#959F2D #2D5C9F #702D9F
monochromatic
#3C4012 #686F20 #959F2D #BDC940 #CED670

Accessibility & contrast

On white

2.89
#959F2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#959F2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959F2D
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959F2D#FFFFFF#000000##000000
##959F2D1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9719
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#9F9689
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #959f2d;
/* rgb */ color: rgb(149, 159, 45);
/* oklch */ color: oklch(67.3% 0.134 114.4);
Tailwind
colors: {
  custom: {
    50: '#b7bb6e',
    500: '#959f2d',
    950: '#000000',
  },
}
SCSS
$custom: #959f2d;
$custom-light: #b7bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#959f2d",
  "rgb": {
    "r": 149,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 65.263,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.67325,
    "c": 0.13438,
    "h": 114.4
  },
  "luminance": 0.31375
}

Semantic roles & 50–950 ramp

primary
#959F2D
secondary
#716ABE
accent
#49DF56
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #959F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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