#307F52#307F52

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

Color values

HEX#307F52
RGBrgb(48, 127, 82)
HSLhsl(146, 45%, 34%)
HSVhsv(146, 62%, 50%)
CMYKcmyk(62.2%, 0%, 35.4%, 50.2%)
CIE-LABlab(47.51, -35.16, 17.49)
CIE-LCHlch(47.51, 39.27, 153.55°)
OKLaboklab(53.54% -0.0955 0.044)
OKLCHoklch(53.54% 0.105 155.2)
XYZxyz(10.3304, 16.4153, 10.6051)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F52 #7F305D
analogous
#367F30 #307F52 #307F7A
triadic
#307F52 #52307F #7F5230
tetradic
#307F52 #30367F #7F305D #7F7A30
square
#307F52 #30367F #7F305D #7F7A30
split-complementary
#307F52 #7A307F #7F3036
monochromatic
#0E2619 #1F5335 #307F52 #41AB6F #65C58E

Accessibility & contrast

On white

4.90
#307F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307F52
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F52#FFFFFF#000000##FFFFFF
##307F521.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754F
Deuteranopia (green-blind)
#746E55
Tritanopia (blue-blind)
#117E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #307f52;
/* rgb */ color: rgb(48, 127, 82);
/* oklch */ color: oklch(53.5% 0.105 155.2);
Tailwind
colors: {
  custom: {
    50: '#71a583',
    500: '#307f52',
    950: '#000000',
  },
}
SCSS
$custom: #307f52;
$custom-light: #71a583;
$custom-dark: #000000;
JSON
{
  "hex": "#307f52",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 82
  },
  "hsl": {
    "h": 145.823,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.10514,
    "h": 155.2
  },
  "luminance": 0.16416
}

Semantic roles & 50–950 ramp

primary
#307F52
secondary
#AC5F8B
accent
#539DD5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #307F52

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

Preview Lab → · Contrast checker → · Palette generator →

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