#30874F#30874F

#30874F is a mid, moderate green. Relative luminance 0.185; OKLCH L 55.7% C 0.120 H 152.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#30874F
RGBrgb(48, 135, 79)
HSLhsl(141, 48%, 36%)
HSVhsv(141, 64%, 53%)
CMYKcmyk(64.4%, 0%, 41.5%, 47.1%)
CIE-LABlab(50.12, -39.19, 22.65)
CIE-LCHlch(50.12, 45.27, 149.97°)
OKLaboklab(55.66% -0.1059 0.0563)
OKLCHoklch(55.66% 0.12 152)
XYZxyz(11.2933, 18.5197, 10.3751)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30874F #873068
analogous
#3C8730 #30874F #30877A
triadic
#30874F #4F3087 #874F30
tetradic
#30874F #303C87 #873068 #877A30
square
#30874F #303C87 #873068 #877A30
split-complementary
#30874F #7A3087 #87303C
monochromatic
#102D1A #205A35 #30874F #40B469 #68C98B

Accessibility & contrast

On white

4.46
#30874F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##30874F#FFFFFF#000000##000000
##30874F1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4B
Deuteranopia (green-blind)
#7C7453
Tritanopia (blue-blind)
#0E8579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #30874f;
/* rgb */ color: rgb(48, 135, 79);
/* oklch */ color: oklch(55.7% 0.120 152.0);
Tailwind
colors: {
  custom: {
    50: '#72ab81',
    500: '#30874f',
    950: '#000000',
  },
}
SCSS
$custom: #30874f;
$custom-light: #72ab81;
$custom-dark: #000000;
JSON
{
  "hex": "#30874f",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 141.379,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55659,
    "c": 0.11996,
    "h": 152
  },
  "luminance": 0.18521
}

Semantic roles & 50–950 ramp

primary
#30874F
secondary
#B16295
accent
#51A7D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #30874F

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

Preview Lab → · Contrast checker → · Palette generator →

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