#307D27#307D27

#307D27 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.143 H 141.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#307D27
RGBrgb(48, 125, 39)
HSLhsl(114, 52%, 32%)
HSVhsv(114, 69%, 49%)
CMYKcmyk(61.6%, 0%, 68.8%, 51%)
CIE-LABlab(46.23, -41.04, 38.51)
CIE-LCHlch(46.23, 56.28, 136.82°)
OKLaboklab(52.29% -0.112 0.0888)
OKLCHoklch(52.29% 0.143 141.6)
XYZxyz(8.9183, 15.4413, 4.4295)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D27 #74277D
analogous
#5B7D27 #307D27 #277D49
triadic
#307D27 #27307D #7D2730
tetradic
#307D27 #275B7D #74277D #7D4927
square
#307D27 #275B7D #74277D #7D4927
split-complementary
#307D27 #49277D #7D275B
monochromatic
#0C200A #1E4E18 #307D27 #42AC36 #61CA55

Accessibility & contrast

On white

5.14
#307D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#307D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D27
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D27#FFFFFF#000000##FFFFFF
##307D271.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711C
Deuteranopia (green-blind)
#766B2F
Tritanopia (blue-blind)
#24796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307d27;
/* rgb */ color: rgb(48, 125, 39);
/* oklch */ color: oklch(52.3% 0.143 141.6);
Tailwind
colors: {
  custom: {
    50: '#72a366',
    500: '#307d27',
    950: '#000000',
  },
}
SCSS
$custom: #307d27;
$custom-light: #72a366;
$custom-dark: #000000;
JSON
{
  "hex": "#307d27",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 113.721,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52285,
    "c": 0.1429,
    "h": 141.6
  },
  "luminance": 0.15442
}

Semantic roles & 50–950 ramp

primary
#307D27
secondary
#A551AF
accent
#4CDCCD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307D27

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

Preview Lab → · Contrast checker → · Palette generator →

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