#30942E#30942E

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

Color values

HEX#30942E
RGBrgb(48, 148, 46)
HSLhsl(119, 53%, 38%)
HSVhsv(119, 69%, 58%)
CMYKcmyk(67.6%, 0%, 68.9%, 42%)
CIE-LABlab(54.03, -48.95, 43.87)
CIE-LCHlch(54.03, 65.73, 138.13°)
OKLaboklab(58.75% -0.133 0.1009)
OKLCHoklch(58.75% 0.167 142.8)
XYZxyz(12.3013, 22.0042, 6.1832)
Luminance0.2200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30942E #922E94
analogous
#63942E #30942E #2E945F
triadic
#30942E #2E3094 #942E30
tetradic
#30942E #2E6394 #922E94 #945F2E
square
#30942E #2E6394 #922E94 #945F2E
split-complementary
#30942E #5F2E94 #942E63
monochromatic
#123711 #21651F #30942E #3FC33D #6DD16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30942E#FFFFFF#000000##000000
##30942E1.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)
#978620
Deuteranopia (green-blind)
#8B7E37
Tritanopia (blue-blind)
#19907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #30942e;
/* rgb */ color: rgb(48, 148, 46);
/* oklch */ color: oklch(58.8% 0.167 142.8);
Tailwind
colors: {
  custom: {
    50: '#76b46c',
    500: '#30942e',
    950: '#000000',
  },
}
SCSS
$custom: #30942e;
$custom-light: #76b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#30942e",
  "rgb": {
    "r": 48,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 118.824,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58753,
    "c": 0.16695,
    "h": 142.8
  },
  "luminance": 0.22005
}

Semantic roles & 50–950 ramp

primary
#30942E
secondary
#B766B8
accent
#4CDCD9
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #30942E

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

Preview Lab → · Contrast checker → · Palette generator →

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