#959E2A#959E2A

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

Color values

HEX#959E2A
RGBrgb(149, 158, 42)
HSLhsl(65, 58%, 39%)
HSVhsv(65, 73%, 62%)
CMYKcmyk(5.7%, 0%, 73.4%, 38%)
CIE-LABlab(62.52, -17.91, 55.80)
CIE-LCHlch(62.52, 58.61, 107.79°)
OKLaboklab(67.07% -0.0548 0.1235)
OKLCHoklch(67.07% 0.135 113.9)
XYZxyz(25.0399, 31.0109, 6.8567)
Luminance0.3101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959E2A #332A9E
analogous
#9E6D2A #959E2A #5B9E2A
triadic
#959E2A #2A959E #9E2A95
tetradic
#959E2A #2A9E6D #332A9E #9E2A5B
square
#959E2A #2A9E6D #332A9E #9E2A5B
split-complementary
#959E2A #2A5B9E #6D2A9E
monochromatic
#3A3D10 #676E1D #959E2A #C0CB3A #CFD86B

Accessibility & contrast

On white

2.92
#959E2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#959E2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959E2A
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959E2A#FFFFFF#000000##000000
##959E2A1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9613
Deuteranopia (green-blind)
#AA9833
Tritanopia (blue-blind)
#9F9488
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #959e2a;
/* rgb */ color: rgb(149, 158, 42);
/* oklch */ color: oklch(67.1% 0.135 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7ba6c',
    500: '#959e2a',
    950: '#000000',
  },
}
SCSS
$custom: #959e2a;
$custom-light: #b7ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#959e2a",
  "rgb": {
    "r": 149,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 64.655,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67073,
    "c": 0.13515,
    "h": 113.9
  },
  "luminance": 0.3101
}

Semantic roles & 50–950 ramp

primary
#959E2A
secondary
#6C66BE
accent
#47E153
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #959E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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