#30912C#30912C

#30912C is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.9% C 0.165 H 142.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#30912C
RGBrgb(48, 145, 44)
HSLhsl(118, 53%, 37%)
HSVhsv(118, 70%, 57%)
CMYKcmyk(66.9%, 0%, 69.7%, 43.1%)
CIE-LABlab(53.01, -48.06, 43.63)
CIE-LCHlch(53.01, 64.91, 137.77°)
OKLaboklab(57.91% -0.1307 0.1001)
OKLCHoklch(57.91% 0.165 142.5)
XYZxyz(11.7983, 21.0598, 5.8256)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30912C #8D2C91
analogous
#63912C #30912C #2C915B
triadic
#30912C #2C3091 #912C30
tetradic
#30912C #2C6391 #8D2C91 #915B2C
square
#30912C #2C6391 #8D2C91 #915B2C
split-complementary
#30912C #5B2C91 #912C63
monochromatic
#113310 #20621E #30912C #40C03A #6BD167

Accessibility & contrast

On white

4.03
#30912C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#30912C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30912C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30912C#FFFFFF#000000##000000
##30912C1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831E
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#1B8D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #30912c;
/* rgb */ color: rgb(48, 145, 44);
/* oklch */ color: oklch(57.9% 0.165 142.5);
Tailwind
colors: {
  custom: {
    50: '#76b26b',
    500: '#30912c',
    950: '#000000',
  },
}
SCSS
$custom: #30912c;
$custom-light: #76b26b;
$custom-dark: #000000;
JSON
{
  "hex": "#30912c",
  "rgb": {
    "r": 48,
    "g": 145,
    "b": 44
  },
  "hsl": {
    "h": 117.624,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57906,
    "c": 0.16467,
    "h": 142.5
  },
  "luminance": 0.21061
}

Semantic roles & 50–950 ramp

primary
#30912C
secondary
#B462B7
accent
#4BDDD7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #30912C

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

Preview Lab → · Contrast checker → · Palette generator →

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