#307B45#307B45

#307B45 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.2% C 0.112 H 150.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#307B45
RGBrgb(48, 123, 69)
HSLhsl(137, 44%, 34%)
HSVhsv(137, 61%, 48%)
CMYKcmyk(61%, 0%, 43.9%, 51.8%)
CIE-LABlab(45.94, -35.95, 22.77)
CIE-LCHlch(45.94, 42.56, 147.66°)
OKLaboklab(52.17% -0.0972 0.0562)
OKLCHoklch(52.17% 0.112 150)
XYZxyz(9.3754, 15.2231, 8.0734)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B45 #7B3066
analogous
#407B30 #307B45 #307B6A
triadic
#307B45 #45307B #7B4530
tetradic
#307B45 #30407B #7B3066 #7B6A30
square
#307B45 #30407B #7B3066 #7B6A30
split-complementary
#307B45 #6A307B #7B3040
monochromatic
#0E2314 #1F4F2C #307B45 #41A75E #63C27E

Accessibility & contrast

On white

5.19
#307B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#307B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B45
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B45#FFFFFF#000000##FFFFFF
##307B451.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7141
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#1B796E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307b45;
/* rgb */ color: rgb(48, 123, 69);
/* oklch */ color: oklch(52.2% 0.112 150.0);
Tailwind
colors: {
  custom: {
    50: '#70a279',
    500: '#307b45',
    950: '#000000',
  },
}
SCSS
$custom: #307b45;
$custom-light: #70a279;
$custom-dark: #000000;
JSON
{
  "hex": "#307b45",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 69
  },
  "hsl": {
    "h": 136.8,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.11234,
    "h": 150
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

primary
#307B45
secondary
#A95D94
accent
#54B0D4
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #307B45

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

Preview Lab → · Contrast checker → · Palette generator →

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