#30951D#30951D

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

Color values

HEX#30951D
RGBrgb(48, 149, 29)
HSLhsl(111, 67%, 35%)
HSVhsv(111, 81%, 58%)
CMYKcmyk(67.8%, 0%, 80.5%, 41.6%)
CIE-LABlab(54.25, -50.67, 50.43)
CIE-LCHlch(54.25, 71.49, 135.13°)
OKLaboklab(58.9% -0.1386 0.1123)
OKLCHoklch(58.9% 0.178 141)
XYZxyz(12.1875, 22.2107, 4.8070)
Luminance0.2221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30951D #821D95
analogous
#6C951D #30951D #1D9546
triadic
#30951D #1D3095 #951D30
tetradic
#30951D #1D6C95 #821D95 #95461D
square
#30951D #1D6C95 #821D95 #95461D
split-complementary
#30951D #461D95 #951D6C
monochromatic
#0F2F09 #1F6213 #30951D #41C827 #66DD50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30951D#FFFFFF#000000##000000
##30951D1.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)
#8D7F2B
Tritanopia (blue-blind)
#1C907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #30951d;
/* rgb */ color: rgb(48, 149, 29);
/* oklch */ color: oklch(58.9% 0.178 141.0);
Tailwind
colors: {
  custom: {
    50: '#77b564',
    500: '#30951d',
    950: '#000000',
  },
}
SCSS
$custom: #30951d;
$custom-light: #77b564;
$custom-dark: #000000;
JSON
{
  "hex": "#30951d",
  "rgb": {
    "r": 48,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 110.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58897,
    "c": 0.17837,
    "h": 141
  },
  "luminance": 0.22212
}

Semantic roles & 50–950 ramp

primary
#30951D
secondary
#AE4EC0
accent
#3DEACF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #30951D

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

Preview Lab → · Contrast checker → · Palette generator →

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