#308754#308754

#308754 is a mid, moderate green. Relative luminance 0.186; OKLCH L 55.8% C 0.115 H 154.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#308754
RGBrgb(48, 135, 84)
HSLhsl(145, 48%, 36%)
HSVhsv(145, 64%, 53%)
CMYKcmyk(64.4%, 0%, 37.8%, 47.1%)
CIE-LABlab(50.21, -38.22, 19.98)
CIE-LCHlch(50.21, 43.12, 152.41°)
OKLaboklab(55.76% -0.1035 0.05)
OKLCHoklch(55.76% 0.115 154.2)
XYZxyz(11.4822, 18.5953, 11.3699)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308754 #873063
analogous
#378730 #308754 #30877F
triadic
#308754 #543087 #875430
tetradic
#308754 #303787 #873063 #877F30
square
#308754 #303787 #873063 #877F30
split-complementary
#308754 #7F3087 #873037
monochromatic
#102D1C #205A38 #308754 #40B470 #68C990

Accessibility & contrast

On white

4.45
#308754 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#308754 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308754
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308754#FFFFFF#000000##000000
##3087541.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C51
Deuteranopia (green-blind)
#7B7457
Tritanopia (blue-blind)
#09857A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #308754;
/* rgb */ color: rgb(48, 135, 84);
/* oklch */ color: oklch(55.8% 0.115 154.2);
Tailwind
colors: {
  custom: {
    50: '#72ab84',
    500: '#308754',
    950: '#000000',
  },
}
SCSS
$custom: #308754;
$custom-light: #72ab84;
$custom-dark: #000000;
JSON
{
  "hex": "#308754",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 84
  },
  "hsl": {
    "h": 144.828,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55762,
    "c": 0.11498,
    "h": 154.2
  },
  "luminance": 0.18596
}

Semantic roles & 50–950 ramp

primary
#308754
secondary
#B16290
accent
#519FD7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #308754

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

Preview Lab → · Contrast checker → · Palette generator →

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