#30951F#30951F

#30951F is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.177 H 141.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#30951F
RGBrgb(48, 149, 31)
HSLhsl(111, 66%, 35%)
HSVhsv(111, 79%, 58%)
CMYKcmyk(67.8%, 0%, 79.2%, 41.6%)
CIE-LABlab(54.26, -50.54, 49.80)
CIE-LCHlch(54.26, 70.95, 135.42°)
OKLaboklab(58.91% -0.1381 0.1113)
OKLCHoklch(58.91% 0.177 141.1)
XYZxyz(12.2131, 22.2209, 4.9415)
Luminance0.2222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30951F #841F95
analogous
#6B951F #30951F #1F9549
triadic
#30951F #1F3095 #951F30
tetradic
#30951F #1F6B95 #841F95 #95491F
square
#30951F #1F6B95 #841F95 #95491F
split-complementary
#30951F #491F95 #951F6B
monochromatic
#0F300A #206214 #30951F #40C82A #67DB53

Accessibility & contrast

On white

3.86
#30951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#30951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30951F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30951F#FFFFFF#000000##000000
##30951F1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#1C907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #30951f;
/* rgb */ color: rgb(48, 149, 31);
/* oklch */ color: oklch(58.9% 0.177 141.1);
Tailwind
colors: {
  custom: {
    50: '#77b564',
    500: '#30951f',
    950: '#000000',
  },
}
SCSS
$custom: #30951f;
$custom-light: #77b564;
$custom-dark: #000000;
JSON
{
  "hex": "#30951f",
  "rgb": {
    "r": 48,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 111.356,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.17736,
    "h": 141.1
  },
  "luminance": 0.22222
}

Semantic roles & 50–950 ramp

primary
#30951F
secondary
#AF51BF
accent
#3FE9D0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #30951F

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

Preview Lab → · Contrast checker → · Palette generator →

#30951F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva