#308751#308751

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

Color values

HEX#308751
RGBrgb(48, 135, 81)
HSLhsl(143, 48%, 36%)
HSVhsv(143, 64%, 53%)
CMYKcmyk(64.4%, 0%, 40%, 47.1%)
CIE-LABlab(50.16, -38.81, 21.58)
CIE-LCHlch(50.16, 44.41, 150.92°)
OKLaboklab(55.7% -0.105 0.0538)
OKLCHoklch(55.7% 0.118 152.9)
XYZxyz(11.3672, 18.5493, 10.7643)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308751 #873066
analogous
#3A8730 #308751 #30877C
triadic
#308751 #513087 #875130
tetradic
#308751 #303A87 #873066 #877C30
square
#308751 #303A87 #873066 #877C30
split-complementary
#308751 #7C3087 #87303A
monochromatic
#102D1B #205A36 #308751 #40B46C #68C98D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308751#FFFFFF#000000##000000
##3087511.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)
#877C4D
Deuteranopia (green-blind)
#7C7455
Tritanopia (blue-blind)
#0C8579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #308751;
/* rgb */ color: rgb(48, 135, 81);
/* oklch */ color: oklch(55.7% 0.118 152.9);
Tailwind
colors: {
  custom: {
    50: '#72ab82',
    500: '#308751',
    950: '#000000',
  },
}
SCSS
$custom: #308751;
$custom-light: #72ab82;
$custom-dark: #000000;
JSON
{
  "hex": "#308751",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 81
  },
  "hsl": {
    "h": 142.759,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.557,
    "c": 0.11796,
    "h": 152.9
  },
  "luminance": 0.1855
}

Semantic roles & 50–950 ramp

primary
#308751
secondary
#B16293
accent
#51A4D7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308751

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

Preview Lab → · Contrast checker → · Palette generator →

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