#307E20#307E20

#307E20 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.149 H 140.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#307E20
RGBrgb(48, 126, 32)
HSLhsl(110, 59%, 31%)
HSVhsv(110, 75%, 49%)
CMYKcmyk(61.9%, 0%, 74.6%, 50.6%)
CIE-LABlab(46.52, -42.08, 41.77)
CIE-LCHlch(46.52, 59.29, 135.21°)
OKLaboklab(52.5% -0.1152 0.0947)
OKLCHoklch(52.5% 0.149 140.6)
XYZxyz(8.9401, 15.6536, 3.9165)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E20 #6E207E
analogous
#5F7E20 #307E20 #207E3F
triadic
#307E20 #20307E #7E2030
tetradic
#307E20 #205F7E #6E207E #7E3F20
square
#307E20 #205F7E #6E207E #7E3F20
split-complementary
#307E20 #3F207E #7E205F
monochromatic
#0B1C07 #1D4D14 #307E20 #43AF2C #5FD048

Accessibility & contrast

On white

5.08
#307E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#307E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E20
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E20#FFFFFF#000000##FFFFFF
##307E201.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#257A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e20;
/* rgb */ color: rgb(48, 126, 32);
/* oklch */ color: oklch(52.5% 0.149 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a462',
    500: '#307e20',
    950: '#000000',
  },
}
SCSS
$custom: #307e20;
$custom-light: #72a462;
$custom-dark: #000000;
JSON
{
  "hex": "#307e20",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 109.787,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.14912,
    "h": 140.6
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#307E20
secondary
#9F49B1
accent
#45E3C8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #307E20

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

Preview Lab → · Contrast checker → · Palette generator →

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