#959F2C#959F2C

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

Color values

HEX#959F2C
RGBrgb(149, 159, 44)
HSLhsl(65, 57%, 40%)
HSVhsv(65, 72%, 62%)
CMYKcmyk(6.3%, 0%, 72.3%, 37.6%)
CIE-LABlab(62.82, -18.31, 55.37)
CIE-LCHlch(62.82, 58.32, 108.30°)
OKLaboklab(67.32% -0.0557 0.123)
OKLCHoklch(67.32% 0.135 114.4)
XYZxyz(25.2479, 31.3682, 7.1070)
Luminance0.3137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959F2C #362C9F
analogous
#9F6F2C #959F2C #5C9F2C
triadic
#959F2C #2C959F #9F2C95
tetradic
#959F2C #2C9F6F #362C9F #9F2C5C
square
#959F2C #2C9F6F #362C9F #9F2C5C
split-complementary
#959F2C #2C5C9F #6F2C9F
monochromatic
#3B3F11 #686F1F #959F2C #BECA3E #CED76E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##959F2C#FFFFFF#000000##000000
##959F2C1.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)
#AB9717
Deuteranopia (green-blind)
#AA9935
Tritanopia (blue-blind)
#9F9689
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #959f2c;
/* rgb */ color: rgb(149, 159, 44);
/* oklch */ color: oklch(67.3% 0.135 114.4);
Tailwind
colors: {
  custom: {
    50: '#b7bb6d',
    500: '#959f2c',
    950: '#000000',
  },
}
SCSS
$custom: #959f2c;
$custom-light: #b7bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#959f2c",
  "rgb": {
    "r": 149,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 65.217,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67317,
    "c": 0.13502,
    "h": 114.4
  },
  "luminance": 0.31368
}

Semantic roles & 50–950 ramp

primary
#959F2C
secondary
#7069BE
accent
#48E055
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #959F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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