#307A21#307A21

#307A21 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.143 H 140.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#307A21
RGBrgb(48, 122, 33)
HSLhsl(110, 57%, 30%)
HSVhsv(110, 73%, 48%)
CMYKcmyk(60.7%, 0%, 73%, 52.2%)
CIE-LABlab(45.16, -40.44, 39.96)
CIE-LCHlch(45.16, 56.86, 135.34°)
OKLaboklab(51.38% -0.1107 0.091)
OKLCHoklch(51.38% 0.143 140.6)
XYZxyz(8.4526, 14.6565, 3.8221)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A21 #6B217A
analogous
#5C7A21 #307A21 #217A3F
triadic
#307A21 #21307A #7A2130
tetradic
#307A21 #215C7A #6B217A #7A3F21
square
#307A21 #215C7A #6B217A #7A3F21
split-complementary
#307A21 #3F217A #7A215C
monochromatic
#0A1A07 #1D4A14 #307A21 #43AA2E #5ECD48

Accessibility & contrast

On white

5.34
#307A21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#307A21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A21
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A21#FFFFFF#000000##FFFFFF
##307A211.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F13
Deuteranopia (green-blind)
#74692A
Tritanopia (blue-blind)
#267668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a21;
/* rgb */ color: rgb(48, 122, 33);
/* oklch */ color: oklch(51.4% 0.143 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a162',
    500: '#307a21',
    950: '#000000',
  },
}
SCSS
$custom: #307a21;
$custom-light: #72a162;
$custom-dark: #000000;
JSON
{
  "hex": "#307a21",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 33
  },
  "hsl": {
    "h": 109.888,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51383,
    "c": 0.14335,
    "h": 140.6
  },
  "luminance": 0.14657
}

Semantic roles & 50–950 ramp

primary
#307A21
secondary
#9C4AAD
accent
#47E1C7
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #307A21

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

Preview Lab → · Contrast checker → · Palette generator →

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