#30945B#30945B

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

Color values

HEX#30945B
RGBrgb(48, 148, 91)
HSLhsl(146, 51%, 38%)
HSVhsv(146, 68%, 58%)
CMYKcmyk(67.6%, 0%, 38.5%, 42%)
CIE-LABlab(54.62, -42.26, 21.96)
CIE-LCHlch(54.62, 47.62, 152.54°)
OKLaboklab(59.43% -0.1143 0.0549)
OKLCHoklch(59.43% 0.127 154.3)
XYZxyz(13.6960, 22.5621, 13.5286)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30945B #943069
analogous
#379430 #30945B #30948D
triadic
#30945B #5B3094 #945B30
tetradic
#30945B #303794 #943069 #948D30
square
#30945B #303794 #943069 #948D30
split-complementary
#30945B #8D3094 #943037
monochromatic
#123822 #21663F #30945B #40C178 #6ED098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30945B#FFFFFF#000000##000000
##30945B1.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)
#948857
Deuteranopia (green-blind)
#877F5F
Tritanopia (blue-blind)
#009286
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #30945b;
/* rgb */ color: rgb(48, 148, 91);
/* oklch */ color: oklch(59.4% 0.127 154.3);
Tailwind
colors: {
  custom: {
    50: '#75b48a',
    500: '#30945b',
    950: '#000000',
  },
}
SCSS
$custom: #30945b;
$custom-light: #75b48a;
$custom-dark: #000000;
JSON
{
  "hex": "#30945b",
  "rgb": {
    "r": 48,
    "g": 148,
    "b": 91
  },
  "hsl": {
    "h": 145.8,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59428,
    "c": 0.12679,
    "h": 154.3
  },
  "luminance": 0.22564
}

Semantic roles & 50–950 ramp

primary
#30945B
secondary
#B86895
accent
#4D9EDA
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #30945B

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

Preview Lab → · Contrast checker → · Palette generator →

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