#30954F#30954F

#30954F is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.5% C 0.140 H 149.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#30954F
RGBrgb(48, 149, 79)
HSLhsl(138, 51%, 39%)
HSVhsv(138, 68%, 58%)
CMYKcmyk(67.8%, 0%, 47%, 41.6%)
CIE-LABlab(54.75, -44.87, 28.63)
CIE-LCHlch(54.75, 53.23, 147.45°)
OKLaboklab(59.47% -0.121 0.0701)
OKLCHoklch(59.47% 0.14 149.9)
XYZxyz(13.3766, 22.6864, 11.0696)
Luminance0.2269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30954F #953076
analogous
#439530 #30954F #309581
triadic
#30954F #4F3095 #954F30
tetradic
#30954F #304395 #953076 #958130
square
#30954F #304395 #953076 #958130
split-complementary
#30954F #813095 #953043
monochromatic
#12381E #216736 #30954F #41C268 #6FD18D

Accessibility & contrast

On white

3.79
#30954F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#30954F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30954F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30954F#FFFFFF#000000##000000
##30954F1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96884A
Deuteranopia (green-blind)
#898054
Tritanopia (blue-blind)
#009284
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #30954f;
/* rgb */ color: rgb(48, 149, 79);
/* oklch */ color: oklch(59.5% 0.140 149.9);
Tailwind
colors: {
  custom: {
    50: '#75b581',
    500: '#30954f',
    950: '#000000',
  },
}
SCSS
$custom: #30954f;
$custom-light: #75b581;
$custom-dark: #000000;
JSON
{
  "hex": "#30954f",
  "rgb": {
    "r": 48,
    "g": 149,
    "b": 79
  },
  "hsl": {
    "h": 138.416,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59469,
    "c": 0.13983,
    "h": 149.9
  },
  "luminance": 0.22688
}

Semantic roles & 50–950 ramp

primary
#30954F
secondary
#B869A0
accent
#4DAFDB
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #30954F

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

Preview Lab → · Contrast checker → · Palette generator →

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