#30874B#30874B

#30874B is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.6% C 0.124 H 150.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#30874B
RGBrgb(48, 135, 75)
HSLhsl(139, 48%, 36%)
HSVhsv(139, 64%, 53%)
CMYKcmyk(64.4%, 0%, 44.4%, 47.1%)
CIE-LABlab(50.05, -39.93, 24.77)
CIE-LCHlch(50.05, 46.99, 148.19°)
OKLaboklab(55.58% -0.1078 0.0611)
OKLCHoklch(55.58% 0.124 150.5)
XYZxyz(11.1520, 18.4632, 9.6313)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30874B #87306C
analogous
#408730 #30874B #308776
triadic
#30874B #4B3087 #874B30
tetradic
#30874B #304087 #87306C #877630
square
#30874B #304087 #87306C #877630
split-complementary
#30874B #763087 #873040
monochromatic
#102D19 #205A32 #30874B #40B464 #68C986

Accessibility & contrast

On white

4.47
#30874B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#30874B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30874B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30874B#FFFFFF#000000##000000
##30874B1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C47
Deuteranopia (green-blind)
#7D744F
Tritanopia (blue-blind)
#128578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #30874b;
/* rgb */ color: rgb(48, 135, 75);
/* oklch */ color: oklch(55.6% 0.124 150.5);
Tailwind
colors: {
  custom: {
    50: '#72ab7e',
    500: '#30874b',
    950: '#000000',
  },
}
SCSS
$custom: #30874b;
$custom-light: #72ab7e;
$custom-dark: #000000;
JSON
{
  "hex": "#30874b",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 75
  },
  "hsl": {
    "h": 138.621,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55582,
    "c": 0.12395,
    "h": 150.5
  },
  "luminance": 0.18464
}

Semantic roles & 50–950 ramp

primary
#30874B
secondary
#B16298
accent
#51ADD7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #30874B

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

Preview Lab → · Contrast checker → · Palette generator →

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