#307B3A#307B3A

#307B3A is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.123 H 146.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#307B3A
RGBrgb(48, 123, 58)
HSLhsl(128, 44%, 34%)
HSVhsv(128, 61%, 48%)
CMYKcmyk(61%, 0%, 52.8%, 51.8%)
CIE-LABlab(45.77, -37.80, 28.58)
CIE-LCHlch(45.77, 47.39, 142.91°)
OKLaboklab(51.97% -0.1023 0.069)
OKLCHoklch(51.97% 0.123 146)
XYZxyz(9.0650, 15.0989, 6.4388)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B3A #7B3071
analogous
#4B7B30 #307B3A #307B5F
triadic
#307B3A #3A307B #7B3A30
tetradic
#307B3A #304B7B #7B3071 #7B5F30
square
#307B3A #304B7B #7B3071 #7B5F30
split-complementary
#307B3A #5F307B #7B304B
monochromatic
#0E2310 #1F4F25 #307B3A #41A74F #63C270

Accessibility & contrast

On white

5.22
#307B3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#307B3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B3A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B3A#FFFFFF#000000##FFFFFF
##307B3A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7034
Deuteranopia (green-blind)
#736A3F
Tritanopia (blue-blind)
#20786C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b3a;
/* rgb */ color: rgb(48, 123, 58);
/* oklch */ color: oklch(52.0% 0.123 146.0);
Tailwind
colors: {
  custom: {
    50: '#70a272',
    500: '#307b3a',
    950: '#000000',
  },
}
SCSS
$custom: #307b3a;
$custom-light: #70a272;
$custom-dark: #000000;
JSON
{
  "hex": "#307b3a",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 58
  },
  "hsl": {
    "h": 128,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.12341,
    "h": 146
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

primary
#307B3A
secondary
#A95D9F
accent
#54C3D4
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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