#959F2A#959F2A

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

Color values

HEX#959F2A
RGBrgb(149, 159, 42)
HSLhsl(65, 58%, 39%)
HSVhsv(65, 74%, 62%)
CMYKcmyk(6.3%, 0%, 73.6%, 37.6%)
CIE-LABlab(62.80, -18.42, 56.08)
CIE-LCHlch(62.80, 59.03, 108.18°)
OKLaboklab(67.3% -0.0562 0.1241)
OKLCHoklch(67.3% 0.136 114.4)
XYZxyz(25.2112, 31.3535, 6.9138)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959F2A #342A9F
analogous
#9F6F2A #959F2A #5B9F2A
triadic
#959F2A #2A959F #9F2A95
tetradic
#959F2A #2A9F6F #342A9F #9F2A5B
square
#959F2A #2A9F6F #342A9F #9F2A5B
split-complementary
#959F2A #2A5B9F #6F2A9F
monochromatic
#3A3E10 #686F1D #959F2A #BFCB3B #CFD86B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##959F2A#FFFFFF#000000##000000
##959F2A1.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)
#AB9713
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#9F9588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #959f2a;
/* rgb */ color: rgb(149, 159, 42);
/* oklch */ color: oklch(67.3% 0.136 114.4);
Tailwind
colors: {
  custom: {
    50: '#b7bb6c',
    500: '#959f2a',
    950: '#000000',
  },
}
SCSS
$custom: #959f2a;
$custom-light: #b7bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#959f2a",
  "rgb": {
    "r": 149,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 65.128,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67304,
    "c": 0.13627,
    "h": 114.4
  },
  "luminance": 0.31353
}

Semantic roles & 50–950 ramp

primary
#959F2A
secondary
#6E66BF
accent
#46E154
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #959F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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