#30875B#30875B

#30875B is a mid, moderate green. Relative luminance 0.187; OKLCH L 55.9% C 0.108 H 157.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#30875B
RGBrgb(48, 135, 91)
HSLhsl(150, 48%, 36%)
HSVhsv(150, 64%, 53%)
CMYKcmyk(64.4%, 0%, 32.6%, 47.1%)
CIE-LABlab(50.35, -36.76, 16.20)
CIE-LCHlch(50.35, 40.17, 156.22°)
OKLaboklab(55.92% -0.1001 0.041)
OKLCHoklch(55.92% 0.108 157.7)
XYZxyz(11.7702, 18.7105, 12.8867)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30875B #87305C
analogous
#308730 #30875B #308786
triadic
#30875B #5B3087 #875B30
tetradic
#30875B #303087 #87305C #878630
square
#30875B #303087 #87305C #878630
split-complementary
#30875B #863087 #873030
monochromatic
#102D1E #205A3D #30875B #40B479 #68C998

Accessibility & contrast

On white

4.43
#30875B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#30875B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30875B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30875B#FFFFFF#000000##000000
##30875B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D58
Deuteranopia (green-blind)
#7A745E
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #30875b;
/* rgb */ color: rgb(48, 135, 91);
/* oklch */ color: oklch(55.9% 0.108 157.7);
Tailwind
colors: {
  custom: {
    50: '#72ab89',
    500: '#30875b',
    950: '#000000',
  },
}
SCSS
$custom: #30875b;
$custom-light: #72ab89;
$custom-dark: #000000;
JSON
{
  "hex": "#30875b",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 91
  },
  "hsl": {
    "h": 149.655,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55919,
    "c": 0.10814,
    "h": 157.7
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#30875B
secondary
#B1628A
accent
#5195D7
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #30875B

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

Preview Lab → · Contrast checker → · Palette generator →

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