#307A45#307A45

#307A45 is a mid, moderate green. Relative luminance 0.150; OKLCH L 51.9% C 0.111 H 150.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#307A45
RGBrgb(48, 122, 69)
HSLhsl(137, 44%, 33%)
HSVhsv(137, 61%, 48%)
CMYKcmyk(60.7%, 0%, 43.4%, 52.2%)
CIE-LABlab(45.60, -35.52, 22.33)
CIE-LCHlch(45.60, 41.96, 147.84°)
OKLaboklab(51.89% -0.0961 0.0552)
OKLCHoklch(51.89% 0.111 150.1)
XYZxyz(9.2520, 14.9763, 8.0322)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A45 #7A3065
analogous
#407A30 #307A45 #307A6A
triadic
#307A45 #45307A #7A4530
tetradic
#307A45 #30407A #7A3065 #7A6A30
square
#307A45 #30407A #7A3065 #7A6A30
split-complementary
#307A45 #6A307A #7A3040
monochromatic
#0D2213 #1F4E2C #307A45 #41A65E #63C27E

Accessibility & contrast

On white

5.26
#307A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#307A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A45
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A45#FFFFFF#000000##FFFFFF
##307A451.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7041
Deuteranopia (green-blind)
#716948
Tritanopia (blue-blind)
#1C786D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307a45;
/* rgb */ color: rgb(48, 122, 69);
/* oklch */ color: oklch(51.9% 0.111 150.1);
Tailwind
colors: {
  custom: {
    50: '#70a179',
    500: '#307a45',
    950: '#000000',
  },
}
SCSS
$custom: #307a45;
$custom-light: #70a179;
$custom-dark: #000000;
JSON
{
  "hex": "#307a45",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 137.027,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5189,
    "c": 0.11084,
    "h": 150.1
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#307A45
secondary
#A95D93
accent
#55AFD3
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #307A45

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

Preview Lab → · Contrast checker → · Palette generator →

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