#307F51#307F51

#307F51 is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.5% C 0.106 H 154.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#307F51
RGBrgb(48, 127, 81)
HSLhsl(145, 45%, 34%)
HSVhsv(145, 62%, 50%)
CMYKcmyk(62.2%, 0%, 36.2%, 50.2%)
CIE-LABlab(47.50, -35.36, 18.03)
CIE-LCHlch(47.50, 39.70, 152.98°)
OKLaboklab(53.52% -0.096 0.0453)
OKLCHoklch(53.52% 0.106 154.7)
XYZxyz(10.2926, 16.4002, 10.4061)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F51 #7F305E
analogous
#377F30 #307F51 #307F79
triadic
#307F51 #51307F #7F5130
tetradic
#307F51 #30377F #7F305E #7F7930
square
#307F51 #30377F #7F305E #7F7930
split-complementary
#307F51 #79307F #7F3037
monochromatic
#0E2618 #1F5335 #307F51 #41AB6D #65C58D

Accessibility & contrast

On white

4.91
#307F51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#307F51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F51
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F51#FFFFFF#000000##FFFFFF
##307F511.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754E
Deuteranopia (green-blind)
#746E54
Tritanopia (blue-blind)
#127E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #307f51;
/* rgb */ color: rgb(48, 127, 81);
/* oklch */ color: oklch(53.5% 0.106 154.7);
Tailwind
colors: {
  custom: {
    50: '#71a582',
    500: '#307f51',
    950: '#000000',
  },
}
SCSS
$custom: #307f51;
$custom-light: #71a582;
$custom-dark: #000000;
JSON
{
  "hex": "#307f51",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 81
  },
  "hsl": {
    "h": 145.063,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53515,
    "c": 0.10613,
    "h": 154.7
  },
  "luminance": 0.16401
}

Semantic roles & 50–950 ramp

primary
#307F51
secondary
#AC5F8C
accent
#539FD5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #307F51

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

Preview Lab → · Contrast checker → · Palette generator →

#307F51 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva