#959C2E#959C2E

#959C2E is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.6% C 0.130 H 113.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#959C2E
RGBrgb(149, 156, 46)
HSLhsl(64, 54%, 40%)
HSVhsv(64, 71%, 61%)
CMYKcmyk(4.5%, 0%, 70.5%, 38.8%)
CIE-LABlab(61.97, -16.66, 53.78)
CIE-LCHlch(61.97, 56.30, 107.22°)
OKLaboklab(66.64% -0.051 0.12)
OKLCHoklch(66.64% 0.13 113)
XYZxyz(24.7768, 30.3643, 7.1399)
Luminance0.3036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959C2E #352E9C
analogous
#9C6C2E #959C2E #5E9C2E
triadic
#959C2E #2E959C #9C2E95
tetradic
#959C2E #2E9C6C #352E9C #9C2E5E
square
#959C2E #2E9C6C #352E9C #9C2E5E
split-complementary
#959C2E #2E5E9C #6C2E9C
monochromatic
#3B3D12 #686D20 #959C2E #BEC740 #CED570

Accessibility & contrast

On white

2.97
#959C2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#959C2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959C2E
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959C2E#FFFFFF#000000##000000
##959C2E1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951C
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#9F9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #959c2e;
/* rgb */ color: rgb(149, 156, 46);
/* oklch */ color: oklch(66.6% 0.130 113.0);
Tailwind
colors: {
  custom: {
    50: '#b7b96e',
    500: '#959c2e',
    950: '#000000',
  },
}
SCSS
$custom: #959c2e;
$custom-light: #b7b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#959c2e",
  "rgb": {
    "r": 149,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 63.818,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66641,
    "c": 0.13034,
    "h": 113
  },
  "luminance": 0.30364
}

Semantic roles & 50–950 ramp

primary
#959C2E
secondary
#6F6ABC
accent
#4ADE53
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #959C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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