#959E2F#959E2F

#959E2F is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.1% C 0.132 H 114.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#959E2F
RGBrgb(149, 158, 47)
HSLhsl(65, 54%, 40%)
HSVhsv(65, 70%, 62%)
CMYKcmyk(5.7%, 0%, 70.3%, 38%)
CIE-LABlab(62.55, -17.64, 53.97)
CIE-LCHlch(62.55, 56.78, 108.10°)
OKLaboklab(67.11% -0.0536 0.1205)
OKLCHoklch(67.11% 0.132 114)
XYZxyz(25.1351, 31.0490, 7.3578)
Luminance0.3105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959E2F #382F9E
analogous
#9E6F2F #959E2F #5D9E2F
triadic
#959E2F #2F959E #9E2F95
tetradic
#959E2F #2F9E6F #382F9E #9E2F5D
square
#959E2F #2F9E6F #382F9E #9E2F5D
split-complementary
#959E2F #2F5D9E #6F2F9E
monochromatic
#3C4013 #696F21 #959E2F #BCC743 #CDD572

Accessibility & contrast

On white

2.91
#959E2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#959E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959E2F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959E2F#FFFFFF#000000##000000
##959E2F1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961D
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#9F9588
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #959e2f;
/* rgb */ color: rgb(149, 158, 47);
/* oklch */ color: oklch(67.1% 0.132 114.0);
Tailwind
colors: {
  custom: {
    50: '#b7ba6f',
    500: '#959e2f',
    950: '#000000',
  },
}
SCSS
$custom: #959e2f;
$custom-light: #b7ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#959e2f",
  "rgb": {
    "r": 149,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 64.865,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67109,
    "c": 0.13191,
    "h": 114
  },
  "luminance": 0.31049
}

Semantic roles & 50–950 ramp

primary
#959E2F
secondary
#736CBD
accent
#4ADE56
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #959E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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