#30874E#30874E

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

Color values

HEX#30874E
RGBrgb(48, 135, 78)
HSLhsl(141, 48%, 36%)
HSVhsv(141, 64%, 53%)
CMYKcmyk(64.4%, 0%, 42.2%, 47.1%)
CIE-LABlab(50.10, -39.38, 23.18)
CIE-LCHlch(50.10, 45.70, 149.52°)
OKLaboklab(55.64% -0.1064 0.0575)
OKLCHoklch(55.64% 0.121 151.6)
XYZxyz(11.2572, 18.5052, 10.1849)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30874E #873069
analogous
#3D8730 #30874E #308779
triadic
#30874E #4E3087 #874E30
tetradic
#30874E #303D87 #873069 #877930
square
#30874E #303D87 #873069 #877930
split-complementary
#30874E #793087 #87303D
monochromatic
#102D1A #205A34 #30874E #40B468 #68C98A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30874E#FFFFFF#000000##000000
##30874E1.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)
#877C4A
Deuteranopia (green-blind)
#7C7452
Tritanopia (blue-blind)
#0F8579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #30874e;
/* rgb */ color: rgb(48, 135, 78);
/* oklch */ color: oklch(55.6% 0.121 151.6);
Tailwind
colors: {
  custom: {
    50: '#72ab80',
    500: '#30874e',
    950: '#000000',
  },
}
SCSS
$custom: #30874e;
$custom-light: #72ab80;
$custom-dark: #000000;
JSON
{
  "hex": "#30874e",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 78
  },
  "hsl": {
    "h": 140.69,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55639,
    "c": 0.12096,
    "h": 151.6
  },
  "luminance": 0.18506
}

Semantic roles & 50–950 ramp

primary
#30874E
secondary
#B16296
accent
#51A9D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #30874E

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

Preview Lab → · Contrast checker → · Palette generator →

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