#30874A#30874A

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

Color values

HEX#30874A
RGBrgb(48, 135, 74)
HSLhsl(138, 48%, 36%)
HSVhsv(138, 64%, 53%)
CMYKcmyk(64.4%, 0%, 45.2%, 47.1%)
CIE-LABlab(50.04, -40.11, 25.30)
CIE-LCHlch(50.04, 47.42, 147.76°)
OKLaboklab(55.56% -0.1083 0.0623)
OKLCHoklch(55.56% 0.125 150.1)
XYZxyz(11.1181, 18.4496, 9.4525)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30874A #87306D
analogous
#418730 #30874A #308775
triadic
#30874A #4A3087 #874A30
tetradic
#30874A #304187 #87306D #877530
square
#30874A #304187 #87306D #877530
split-complementary
#30874A #753087 #873041
monochromatic
#102D19 #205A31 #30874A #40B463 #68C985

Accessibility & contrast

On white

4.48
#30874A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##30874A#FFFFFF#000000##000000
##30874A1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30874a;
/* rgb */ color: rgb(48, 135, 74);
/* oklch */ color: oklch(55.6% 0.125 150.1);
Tailwind
colors: {
  custom: {
    50: '#72ab7d',
    500: '#30874a',
    950: '#000000',
  },
}
SCSS
$custom: #30874a;
$custom-light: #72ab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#30874a",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 74
  },
  "hsl": {
    "h": 137.931,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55563,
    "c": 0.12495,
    "h": 150.1
  },
  "luminance": 0.18451
}

Semantic roles & 50–950 ramp

primary
#30874A
secondary
#B16299
accent
#51AFD7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #30874A

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

Preview Lab → · Contrast checker → · Palette generator →

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