#30951C#30951C

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

Color values

HEX#30951C
RGBrgb(48, 149, 28)
HSLhsl(110, 68%, 35%)
HSVhsv(110, 81%, 58%)
CMYKcmyk(67.8%, 0%, 81.2%, 41.6%)
CIE-LABlab(54.24, -50.73, 50.74)
CIE-LCHlch(54.24, 71.75, 134.99°)
OKLaboklab(58.89% -0.1388 0.1128)
OKLCHoklch(58.89% 0.179 140.9)
XYZxyz(12.1753, 22.2059, 4.7429)
Luminance0.2221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30951C #811C95
analogous
#6C951C #30951C #1C9545
triadic
#30951C #1C3095 #951C30
tetradic
#30951C #1C6C95 #811C95 #95451C
square
#30951C #1C6C95 #811C95 #95451C
split-complementary
#30951C #451C95 #951C6C
monochromatic
#0F2E09 #1F6112 #30951C #41C926 #66DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30951C#FFFFFF#000000##000000
##30951C1.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)
#1D907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #30951c;
/* rgb */ color: rgb(48, 149, 28);
/* oklch */ color: oklch(58.9% 0.179 140.9);
Tailwind
colors: {
  custom: {
    50: '#77b563',
    500: '#30951c',
    950: '#000000',
  },
}
SCSS
$custom: #30951c;
$custom-light: #77b563;
$custom-dark: #000000;
JSON
{
  "hex": "#30951c",
  "rgb": {
    "r": 48,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 110.083,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58891,
    "c": 0.17885,
    "h": 140.9
  },
  "luminance": 0.22207
}

Semantic roles & 50–950 ramp

primary
#30951C
secondary
#AD4DC0
accent
#3DEBCE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #30951C

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

Preview Lab → · Contrast checker → · Palette generator →

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