#307B20#307B20

#307B20 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.145 H 140.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#307B20
RGBrgb(48, 123, 32)
HSLhsl(109, 59%, 30%)
HSVhsv(109, 74%, 48%)
CMYKcmyk(61%, 0%, 74%, 51.8%)
CIE-LABlab(45.49, -40.92, 40.72)
CIE-LCHlch(45.49, 57.73, 135.14°)
OKLaboklab(51.66% -0.1121 0.0925)
OKLCHoklch(51.66% 0.145 140.5)
XYZxyz(8.5622, 14.8978, 3.7906)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B20 #6B207B
analogous
#5D7B20 #307B20 #207B3E
triadic
#307B20 #20307B #7B2030
tetradic
#307B20 #205D7B #6B207B #7B3E20
square
#307B20 #205D7B #6B207B #7B3E20
split-complementary
#307B20 #3E207B #7B205D
monochromatic
#0A1A07 #1D4A13 #307B20 #43AC2D #5ECF46

Accessibility & contrast

On white

5.28
#307B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#307B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B20
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B20#FFFFFF#000000##FFFFFF
##307B201.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7011
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#267769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b20;
/* rgb */ color: rgb(48, 123, 32);
/* oklch */ color: oklch(51.7% 0.145 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a261',
    500: '#307b20',
    950: '#000000',
  },
}
SCSS
$custom: #307b20;
$custom-light: #72a261;
$custom-dark: #000000;
JSON
{
  "hex": "#307b20",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 109.451,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51656,
    "c": 0.14531,
    "h": 140.5
  },
  "luminance": 0.14899
}

Semantic roles & 50–950 ramp

primary
#307B20
secondary
#9C49AE
accent
#46E2C6
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #307B20

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

Preview Lab → · Contrast checker → · Palette generator →

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