#959E2B#959E2B

#959E2B 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#959E2B
RGBrgb(149, 158, 43)
HSLhsl(65, 57%, 39%)
HSVhsv(65, 73%, 62%)
CMYKcmyk(5.7%, 0%, 72.8%, 38%)
CIE-LABlab(62.52, -17.85, 55.45)
CIE-LCHlch(62.52, 58.25, 107.85°)
OKLaboklab(67.08% -0.0546 0.123)
OKLCHoklch(67.08% 0.135 113.9)
XYZxyz(25.0581, 31.0182, 6.9521)
Luminance0.3102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959E2B #342B9E
analogous
#9E6E2B #959E2B #5B9E2B
triadic
#959E2B #2B959E #9E2B95
tetradic
#959E2B #2B9E6E #342B9E #9E2B5B
square
#959E2B #2B9E6E #342B9E #9E2B5B
split-complementary
#959E2B #2B5B9E #6E2B9E
monochromatic
#3A3E11 #686E1E #959E2B #BFCA3C #CFD76C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##959E2B#FFFFFF#000000##000000
##959E2B1.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)
#AA9616
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#9F9488
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #959e2b;
/* rgb */ color: rgb(149, 158, 43);
/* oklch */ color: oklch(67.1% 0.135 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7ba6d',
    500: '#959e2b',
    950: '#000000',
  },
}
SCSS
$custom: #959e2b;
$custom-light: #b7ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#959e2b",
  "rgb": {
    "r": 149,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 64.696,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6708,
    "c": 0.13453,
    "h": 113.9
  },
  "luminance": 0.31018
}

Semantic roles & 50–950 ramp

primary
#959E2B
secondary
#6E67BE
accent
#47E053
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #959E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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