#95B31C#95B31C

#95B31C is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 71.9% C 0.166 H 121.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#95B31C
RGBrgb(149, 179, 28)
HSLhsl(72, 73%, 41%)
HSVhsv(72, 84%, 70%)
CMYKcmyk(16.8%, 0%, 84.4%, 29.8%)
CIE-LABlab(68.54, -28.87, 65.42)
CIE-LCHlch(68.54, 71.51, 113.81°)
OKLaboklab(71.9% -0.086 0.1416)
OKLCHoklch(71.9% 0.166 121.3)
XYZxyz(28.7247, 38.7136, 7.0576)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95B31C #3A1CB3
analogous
#B3861C #95B31C #49B31C
triadic
#95B31C #1C95B3 #B31C95
tetradic
#95B31C #1CB386 #3A1CB3 #B31C49
square
#95B31C #1CB386 #3A1CB3 #B31C49
split-complementary
#95B31C #1C49B3 #861CB3
monochromatic
#3D490B #697E14 #95B31C #BBDE2E #CCE763

Accessibility & contrast

On white

2.40
#95B31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#95B31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95B31C
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95B31C#FFFFFF#000000##000000
##95B31C1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BBA72E
Tritanopia (blue-blind)
#9EA999
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #95b31c;
/* rgb */ color: rgb(149, 179, 28);
/* oklch */ color: oklch(71.9% 0.166 121.3);
Tailwind
colors: {
  custom: {
    50: '#b8c969',
    500: '#95b31c',
    950: '#000000',
  },
}
SCSS
$custom: #95b31c;
$custom-light: #b8c969;
$custom-dark: #000000;
JSON
{
  "hex": "#95b31c",
  "rgb": {
    "r": 149,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 71.921,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71902,
    "c": 0.16569,
    "h": 121.3
  },
  "luminance": 0.38714
}

Semantic roles & 50–950 ramp

primary
#95B31C
secondary
#755FCB
accent
#38F05D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #95B31C

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

Preview Lab → · Contrast checker → · Palette generator →

#95B31C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva