#307D21#307D21

#307D21 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.147 H 140.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#307D21
RGBrgb(48, 125, 33)
HSLhsl(110, 58%, 31%)
HSVhsv(110, 74%, 49%)
CMYKcmyk(61.6%, 0%, 73.6%, 51%)
CIE-LABlab(46.18, -41.61, 41.02)
CIE-LCHlch(46.18, 58.43, 135.41°)
OKLaboklab(52.23% -0.1139 0.0932)
OKLCHoklch(52.23% 0.147 140.7)
XYZxyz(8.8266, 15.4046, 3.9468)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D21 #6E217D
analogous
#5E7D21 #307D21 #217D40
triadic
#307D21 #21307D #7D2130
tetradic
#307D21 #215E7D #6E217D #7D4021
square
#307D21 #215E7D #6E217D #7D4021
split-complementary
#307D21 #40217D #7D215E
monochromatic
#0B1C07 #1D4D14 #307D21 #43AD2E #5FCF49

Accessibility & contrast

On white

5.15
#307D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#307D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D21
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D21#FFFFFF#000000##FFFFFF
##307D211.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807112
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#25796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307d21;
/* rgb */ color: rgb(48, 125, 33);
/* oklch */ color: oklch(52.2% 0.147 140.7);
Tailwind
colors: {
  custom: {
    50: '#72a362',
    500: '#307d21',
    950: '#000000',
  },
}
SCSS
$custom: #307d21;
$custom-light: #72a362;
$custom-dark: #000000;
JSON
{
  "hex": "#307d21",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 110.217,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52228,
    "c": 0.1472,
    "h": 140.7
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

primary
#307D21
secondary
#9F4AB0
accent
#46E1C8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #307D21

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

Preview Lab → · Contrast checker → · Palette generator →

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