#30942F#30942F

#30942F is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.8% C 0.166 H 143.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#30942F
RGBrgb(48, 148, 47)
HSLhsl(119, 52%, 38%)
HSVhsv(119, 68%, 58%)
CMYKcmyk(67.6%, 0%, 68.2%, 42%)
CIE-LABlab(54.04, -48.85, 43.45)
CIE-LCHlch(54.04, 65.38, 138.34°)
OKLaboklab(58.76% -0.1327 0.1001)
OKLCHoklch(58.76% 0.166 143)
XYZxyz(12.3212, 22.0122, 6.2882)
Luminance0.2201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30942F #932F94
analogous
#62942F #30942F #2F9460
triadic
#30942F #2F3094 #942F30
tetradic
#30942F #2F6294 #932F94 #94602F
square
#30942F #2F6294 #932F94 #94602F
split-complementary
#30942F #602F94 #942F62
monochromatic
#123711 #216620 #30942F #40C23E #6ED16D

Accessibility & contrast

On white

3.89
#30942F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#30942F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30942F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30942F#FFFFFF#000000##000000
##30942F1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#8B7E38
Tritanopia (blue-blind)
#18907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #30942f;
/* rgb */ color: rgb(48, 148, 47);
/* oklch */ color: oklch(58.8% 0.166 143.0);
Tailwind
colors: {
  custom: {
    50: '#76b46d',
    500: '#30942f',
    950: '#000000',
  },
}
SCSS
$custom: #30942f;
$custom-light: #76b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#30942f",
  "rgb": {
    "r": 48,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 119.406,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58762,
    "c": 0.16623,
    "h": 143
  },
  "luminance": 0.22013
}

Semantic roles & 50–950 ramp

primary
#30942F
secondary
#B767B8
accent
#4DDBDA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #30942F

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

Preview Lab → · Contrast checker → · Palette generator →

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