#30945A#30945A

#30945A is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.4% C 0.128 H 153.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#30945A
RGBrgb(48, 148, 90)
HSLhsl(145, 51%, 38%)
HSVhsv(145, 68%, 58%)
CMYKcmyk(67.6%, 0%, 39.2%, 42%)
CIE-LABlab(54.60, -42.45, 22.48)
CIE-LCHlch(54.60, 48.04, 152.09°)
OKLaboklab(59.41% -0.1148 0.0561)
OKLCHoklch(59.41% 0.128 153.9)
XYZxyz(13.6531, 22.5449, 13.3029)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30945A #94306A
analogous
#389430 #30945A #30948C
triadic
#30945A #5A3094 #945A30
tetradic
#30945A #303894 #94306A #948C30
square
#30945A #303894 #94306A #948C30
split-complementary
#30945A #8C3094 #943038
monochromatic
#123822 #21663E #30945A #40C176 #6ED097

Accessibility & contrast

On white

3.81
#30945A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#30945A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30945A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30945A#FFFFFF#000000##000000
##30945A1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948856
Deuteranopia (green-blind)
#877F5E
Tritanopia (blue-blind)
#009285
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #30945a;
/* rgb */ color: rgb(48, 148, 90);
/* oklch */ color: oklch(59.4% 0.128 153.9);
Tailwind
colors: {
  custom: {
    50: '#75b489',
    500: '#30945a',
    950: '#000000',
  },
}
SCSS
$custom: #30945a;
$custom-light: #75b489;
$custom-dark: #000000;
JSON
{
  "hex": "#30945a",
  "rgb": {
    "r": 48,
    "g": 148,
    "b": 90
  },
  "hsl": {
    "h": 145.2,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59407,
    "c": 0.12776,
    "h": 153.9
  },
  "luminance": 0.22546
}

Semantic roles & 50–950 ramp

primary
#30945A
secondary
#B86896
accent
#4D9FDA
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #30945A

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

Preview Lab → · Contrast checker → · Palette generator →

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