#307B21#307B21

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

Color values

HEX#307B21
RGBrgb(48, 123, 33)
HSLhsl(110, 58%, 31%)
HSVhsv(110, 73%, 48%)
CMYKcmyk(61%, 0%, 73.2%, 51.8%)
CIE-LABlab(45.50, -40.83, 40.32)
CIE-LCHlch(45.50, 57.38, 135.36°)
OKLaboklab(51.67% -0.1118 0.0918)
OKLCHoklch(51.67% 0.145 140.6)
XYZxyz(8.5760, 14.9033, 3.8632)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B21 #6C217B
analogous
#5D7B21 #307B21 #217B3F
triadic
#307B21 #21307B #7B2130
tetradic
#307B21 #215D7B #6C217B #7B3F21
square
#307B21 #215D7B #6C217B #7B3F21
split-complementary
#307B21 #3F217B #7B215D
monochromatic
#0A1A07 #1D4B14 #307B21 #43AB2E #5FCE48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307B21#FFFFFF#000000##FFFFFF
##307B211.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)
#7E7013
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#267769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b21;
/* rgb */ color: rgb(48, 123, 33);
/* oklch */ color: oklch(51.7% 0.145 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a262',
    500: '#307b21',
    950: '#000000',
  },
}
SCSS
$custom: #307b21;
$custom-light: #72a262;
$custom-dark: #000000;
JSON
{
  "hex": "#307b21",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 33
  },
  "hsl": {
    "h": 110,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51665,
    "c": 0.14463,
    "h": 140.6
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #307B21

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

Preview Lab → · Contrast checker → · Palette generator →

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