#307F27#307F27

#307F27 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.146 H 141.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#307F27
RGBrgb(48, 127, 39)
HSLhsl(114, 53%, 33%)
HSVhsv(114, 69%, 50%)
CMYKcmyk(62.2%, 0%, 69.3%, 50.2%)
CIE-LABlab(46.91, -41.82, 39.25)
CIE-LCHlch(46.91, 57.35, 136.82°)
OKLaboklab(52.85% -0.1141 0.0903)
OKLCHoklch(52.85% 0.146 141.6)
XYZxyz(9.1740, 15.9528, 4.5148)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F27 #76277F
analogous
#5C7F27 #307F27 #277F4A
triadic
#307F27 #27307F #7F2730
tetradic
#307F27 #275C7F #76277F #7F4A27
square
#307F27 #275C7F #76277F #7F4A27
split-complementary
#307F27 #4A277F #7F275C
monochromatic
#0D210A #1E5019 #307F27 #42AE35 #61CB55

Accessibility & contrast

On white

5.01
#307F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#307F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F27
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F27#FFFFFF#000000##FFFFFF
##307F271.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731B
Deuteranopia (green-blind)
#786D2F
Tritanopia (blue-blind)
#237B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f27;
/* rgb */ color: rgb(48, 127, 39);
/* oklch */ color: oklch(52.8% 0.146 141.6);
Tailwind
colors: {
  custom: {
    50: '#72a566',
    500: '#307f27',
    950: '#000000',
  },
}
SCSS
$custom: #307f27;
$custom-light: #72a566;
$custom-dark: #000000;
JSON
{
  "hex": "#307f27",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 113.864,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52846,
    "c": 0.14551,
    "h": 141.6
  },
  "luminance": 0.15954
}

Semantic roles & 50–950 ramp

primary
#307F27
secondary
#A652B0
accent
#4BDCCE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #307F27

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

Preview Lab → · Contrast checker → · Palette generator →

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