#30942B#30942B

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

Color values

HEX#30942B
RGBrgb(48, 148, 43)
HSLhsl(117, 55%, 37%)
HSVhsv(117, 71%, 58%)
CMYKcmyk(67.6%, 0%, 70.9%, 42%)
CIE-LABlab(54.01, -49.23, 45.09)
CIE-LCHlch(54.01, 66.76, 137.51°)
OKLaboklab(58.73% -0.134 0.1031)
OKLCHoklch(58.73% 0.169 142.4)
XYZxyz(12.2442, 21.9813, 5.8826)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30942B #8F2B94
analogous
#64942B #30942B #2B945B
triadic
#30942B #2B3094 #942B30
tetradic
#30942B #2B6494 #8F2B94 #945B2B
square
#30942B #2B6494 #8F2B94 #945B2B
split-complementary
#30942B #5B2B94 #942B64
monochromatic
#11350F #21651D #30942B #3FC339 #6CD367

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30942B#FFFFFF#000000##000000
##30942B1.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)
#97861B
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#1A907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #30942b;
/* rgb */ color: rgb(48, 148, 43);
/* oklch */ color: oklch(58.7% 0.169 142.4);
Tailwind
colors: {
  custom: {
    50: '#76b46a',
    500: '#30942b',
    950: '#000000',
  },
}
SCSS
$custom: #30942b;
$custom-light: #76b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#30942b",
  "rgb": {
    "r": 48,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 117.143,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58725,
    "c": 0.16903,
    "h": 142.4
  },
  "luminance": 0.21983
}

Semantic roles & 50–950 ramp

primary
#30942B
secondary
#B562B9
accent
#49DED7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #30942B

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

Preview Lab → · Contrast checker → · Palette generator →

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