#307F39#307F39

#307F39 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.130 H 145.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#307F39
RGBrgb(48, 127, 57)
HSLhsl(127, 45%, 34%)
HSVhsv(127, 62%, 50%)
CMYKcmyk(62.2%, 0%, 55.1%, 50.2%)
CIE-LABlab(47.11, -39.60, 30.74)
CIE-LCHlch(47.11, 50.13, 142.18°)
OKLaboklab(53.07% -0.1072 0.0737)
OKLCHoklch(53.07% 0.13 145.5)
XYZxyz(9.5462, 16.1016, 6.4750)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F39 #7F3076
analogous
#4F7F30 #307F39 #307F61
triadic
#307F39 #39307F #7F3930
tetradic
#307F39 #304F7F #7F3076 #7F6130
square
#307F39 #304F7F #7F3076 #7F6130
split-complementary
#307F39 #61307F #7F304F
monochromatic
#0E2611 #1F5325 #307F39 #41AB4D #65C570

Accessibility & contrast

On white

4.98
#307F39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#307F39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F39
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F39#FFFFFF#000000##FFFFFF
##307F391.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817433
Deuteranopia (green-blind)
#776D3E
Tritanopia (blue-blind)
#1F7C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307f39;
/* rgb */ color: rgb(48, 127, 57);
/* oklch */ color: oklch(53.1% 0.130 145.5);
Tailwind
colors: {
  custom: {
    50: '#71a571',
    500: '#307f39',
    950: '#000000',
  },
}
SCSS
$custom: #307f39;
$custom-light: #71a571;
$custom-dark: #000000;
JSON
{
  "hex": "#307f39",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 57
  },
  "hsl": {
    "h": 126.835,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5307,
    "c": 0.1301,
    "h": 145.5
  },
  "luminance": 0.16103
}

Semantic roles & 50–950 ramp

primary
#307F39
secondary
#AC5FA3
accent
#53C6D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307F39

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

Preview Lab → · Contrast checker → · Palette generator →

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