#307B39#307B39

#307B39 is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.124 H 145.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#307B39
RGBrgb(48, 123, 57)
HSLhsl(127, 44%, 34%)
HSVhsv(127, 61%, 48%)
CMYKcmyk(61%, 0%, 53.7%, 51.8%)
CIE-LABlab(45.76, -37.96, 29.09)
CIE-LCHlch(45.76, 47.82, 142.53°)
OKLaboklab(51.96% -0.1028 0.0701)
OKLCHoklch(51.96% 0.124 145.7)
XYZxyz(9.0398, 15.0889, 6.3062)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B39 #7B3072
analogous
#4C7B30 #307B39 #307B5E
triadic
#307B39 #39307B #7B3930
tetradic
#307B39 #304C7B #7B3072 #7B5E30
square
#307B39 #304C7B #7B3072 #7B5E30
split-complementary
#307B39 #5E307B #7B304C
monochromatic
#0E2310 #1F4F25 #307B39 #41A74D #63C26F

Accessibility & contrast

On white

5.23
#307B39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#307B39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B39
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B39#FFFFFF#000000##FFFFFF
##307B391.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7033
Deuteranopia (green-blind)
#736A3E
Tritanopia (blue-blind)
#20786C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b39;
/* rgb */ color: rgb(48, 123, 57);
/* oklch */ color: oklch(52.0% 0.124 145.7);
Tailwind
colors: {
  custom: {
    50: '#70a271',
    500: '#307b39',
    950: '#000000',
  },
}
SCSS
$custom: #307b39;
$custom-light: #70a271;
$custom-dark: #000000;
JSON
{
  "hex": "#307b39",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 57
  },
  "hsl": {
    "h": 127.2,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.12438,
    "h": 145.7
  },
  "luminance": 0.1509
}

Semantic roles & 50–950 ramp

primary
#307B39
secondary
#A95DA0
accent
#54C4D4
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307B39

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

Preview Lab → · Contrast checker → · Palette generator →

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