#30912A#30912A

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

Color values

HEX#30912A
RGBrgb(48, 145, 42)
HSLhsl(117, 55%, 37%)
HSVhsv(117, 71%, 57%)
CMYKcmyk(66.9%, 0%, 71%, 43.1%)
CIE-LABlab(53.00, -48.25, 44.44)
CIE-LCHlch(53.00, 65.60, 137.35°)
OKLaboklab(57.89% -0.1313 0.1016)
OKLCHoklch(57.89% 0.166 142.3)
XYZxyz(11.7616, 21.0451, 5.6323)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30912A #8B2A91
analogous
#64912A #30912A #2A9158
triadic
#30912A #2A3091 #912A30
tetradic
#30912A #2A6491 #8B2A91 #91582A
square
#30912A #2A6491 #8B2A91 #91582A
split-complementary
#30912A #582A91 #912A64
monochromatic
#11320F #20621C #30912A #40C038 #6AD263

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30912A#FFFFFF#000000##000000
##30912A1.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)
#94831A
Deuteranopia (green-blind)
#897B34
Tritanopia (blue-blind)
#1B8D7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #30912a;
/* rgb */ color: rgb(48, 145, 42);
/* oklch */ color: oklch(57.9% 0.166 142.3);
Tailwind
colors: {
  custom: {
    50: '#76b269',
    500: '#30912a',
    950: '#000000',
  },
}
SCSS
$custom: #30912a;
$custom-light: #76b269;
$custom-dark: #000000;
JSON
{
  "hex": "#30912a",
  "rgb": {
    "r": 48,
    "g": 145,
    "b": 42
  },
  "hsl": {
    "h": 116.505,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57887,
    "c": 0.16605,
    "h": 142.3
  },
  "luminance": 0.21046
}

Semantic roles & 50–950 ramp

primary
#30912A
secondary
#B35FB8
accent
#49DED6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #30912A

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

Preview Lab → · Contrast checker → · Palette generator →

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