#307C20#307C20

#307C20 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.147 H 140.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#307C20
RGBrgb(48, 124, 32)
HSLhsl(110, 59%, 31%)
HSVhsv(110, 74%, 49%)
CMYKcmyk(61.3%, 0%, 74.2%, 51.4%)
CIE-LABlab(45.84, -41.31, 41.07)
CIE-LCHlch(45.84, 58.25, 135.17°)
OKLaboklab(51.94% -0.1131 0.0932)
OKLCHoklch(51.94% 0.147 140.5)
XYZxyz(8.6869, 15.1472, 3.8321)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C20 #6C207C
analogous
#5E7C20 #307C20 #207C3E
triadic
#307C20 #20307C #7C2030
tetradic
#307C20 #205E7C #6C207C #7C3E20
square
#307C20 #205E7C #6C207C #7C3E20
split-complementary
#307C20 #3E207C #7C205E
monochromatic
#0A1B07 #1D4B13 #307C20 #43AD2D #5FCF47

Accessibility & contrast

On white

5.21
#307C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#307C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C20
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C20#FFFFFF#000000##FFFFFF
##307C201.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7010
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#26786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c20;
/* rgb */ color: rgb(48, 124, 32);
/* oklch */ color: oklch(51.9% 0.147 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a362',
    500: '#307c20',
    950: '#000000',
  },
}
SCSS
$custom: #307c20;
$custom-light: #72a362;
$custom-dark: #000000;
JSON
{
  "hex": "#307c20",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 109.565,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51938,
    "c": 0.14659,
    "h": 140.5
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#307C20
secondary
#9D49AF
accent
#46E2C7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #307C20

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

Preview Lab → · Contrast checker → · Palette generator →

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