#30874C#30874C

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

Color values

HEX#30874C
RGBrgb(48, 135, 76)
HSLhsl(139, 48%, 36%)
HSVhsv(139, 64%, 53%)
CMYKcmyk(64.4%, 0%, 43.7%, 47.1%)
CIE-LABlab(50.07, -39.75, 24.24)
CIE-LCHlch(50.07, 46.56, 148.62°)
OKLaboklab(55.6% -0.1074 0.0599)
OKLCHoklch(55.6% 0.123 150.8)
XYZxyz(11.1865, 18.4770, 9.8130)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30874C #87306B
analogous
#3F8730 #30874C #308777
triadic
#30874C #4C3087 #874C30
tetradic
#30874C #303F87 #87306B #877730
square
#30874C #303F87 #87306B #877730
split-complementary
#30874C #773087 #87303F
monochromatic
#102D19 #205A33 #30874C #40B465 #68C987

Accessibility & contrast

On white

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

On black

4.70
#30874C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30874C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30874C#FFFFFF#000000##000000
##30874C1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C48
Deuteranopia (green-blind)
#7C7450
Tritanopia (blue-blind)
#118579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #30874c;
/* rgb */ color: rgb(48, 135, 76);
/* oklch */ color: oklch(55.6% 0.123 150.8);
Tailwind
colors: {
  custom: {
    50: '#72ab7f',
    500: '#30874c',
    950: '#000000',
  },
}
SCSS
$custom: #30874c;
$custom-light: #72ab7f;
$custom-dark: #000000;
JSON
{
  "hex": "#30874c",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 76
  },
  "hsl": {
    "h": 139.31,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55601,
    "c": 0.12296,
    "h": 150.8
  },
  "luminance": 0.18478
}

Semantic roles & 50–950 ramp

primary
#30874C
secondary
#B16297
accent
#51ACD7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #30874C

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

Preview Lab → · Contrast checker → · Palette generator →

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