#959F1C#959F1C

#959F1C is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.2% C 0.144 H 114.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#959F1C
RGBrgb(149, 159, 28)
HSLhsl(65, 70%, 37%)
HSVhsv(65, 82%, 62%)
CMYKcmyk(6.3%, 0%, 82.4%, 37.6%)
CIE-LABlab(62.74, -19.00, 60.42)
CIE-LCHlch(62.74, 63.34, 107.46°)
OKLaboklab(67.22% -0.059 0.1308)
OKLCHoklch(67.22% 0.144 114.3)
XYZxyz(25.0030, 31.2702, 5.8170)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959F1C #261C9F
analogous
#9F681C #959F1C #549F1C
triadic
#959F1C #1C959F #9F1C95
tetradic
#959F1C #1C9F68 #261C9F #9F1C54
square
#959F1C #1C9F68 #261C9F #9F1C54
split-complementary
#959F1C #1C549F #681C9F
monochromatic
#33370A #646B13 #959F1C #C6D325 #D6E154

Accessibility & contrast

On white

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

On black

7.25
#959F1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959F1C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959F1C#FFFFFF#000000##000000
##959F1C1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#9F9588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #959f1c;
/* rgb */ color: rgb(149, 159, 28);
/* oklch */ color: oklch(67.2% 0.144 114.3);
Tailwind
colors: {
  custom: {
    50: '#b8bb66',
    500: '#959f1c',
    950: '#000000',
  },
}
SCSS
$custom: #959f1c;
$custom-light: #b8bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#959f1c",
  "rgb": {
    "r": 149,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 64.58,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67225,
    "c": 0.14353,
    "h": 114.3
  },
  "luminance": 0.3127
}

Semantic roles & 50–950 ramp

primary
#959F1C
secondary
#5B53C4
accent
#3BED49
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #959F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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