#308750#308750

#308750 is a mid, moderate green. Relative luminance 0.185; OKLCH L 55.7% C 0.119 H 152.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#308750
RGBrgb(48, 135, 80)
HSLhsl(142, 48%, 36%)
HSVhsv(142, 64%, 53%)
CMYKcmyk(64.4%, 0%, 40.7%, 47.1%)
CIE-LABlab(50.14, -39.00, 22.12)
CIE-LCHlch(50.14, 44.84, 150.44°)
OKLaboklab(55.68% -0.1055 0.055)
OKLCHoklch(55.68% 0.119 152.4)
XYZxyz(11.3300, 18.5344, 10.5683)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308750 #873067
analogous
#3B8730 #308750 #30877B
triadic
#308750 #503087 #875030
tetradic
#308750 #303B87 #873067 #877B30
square
#308750 #303B87 #873067 #877B30
split-complementary
#308750 #7B3087 #87303B
monochromatic
#102D1A #205A35 #308750 #40B46B #68C98C

Accessibility & contrast

On white

4.46
#308750 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#308750 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308750
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308750#FFFFFF#000000##000000
##3087501.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4C
Deuteranopia (green-blind)
#7C7454
Tritanopia (blue-blind)
#0D8579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #308750;
/* rgb */ color: rgb(48, 135, 80);
/* oklch */ color: oklch(55.7% 0.119 152.4);
Tailwind
colors: {
  custom: {
    50: '#72ab81',
    500: '#308750',
    950: '#000000',
  },
}
SCSS
$custom: #308750;
$custom-light: #72ab81;
$custom-dark: #000000;
JSON
{
  "hex": "#308750",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 80
  },
  "hsl": {
    "h": 142.069,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55679,
    "c": 0.11896,
    "h": 152.4
  },
  "luminance": 0.18536
}

Semantic roles & 50–950 ramp

primary
#308750
secondary
#B16294
accent
#51A6D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308750

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

Preview Lab → · Contrast checker → · Palette generator →

#308750 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva