#307C3A#307C3A

#307C3A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.3% C 0.125 H 145.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#307C3A
RGBrgb(48, 124, 58)
HSLhsl(128, 44%, 34%)
HSVhsv(128, 61%, 49%)
CMYKcmyk(61.3%, 0%, 53.2%, 51.4%)
CIE-LABlab(46.11, -38.22, 29.00)
CIE-LCHlch(46.11, 47.97, 142.81°)
OKLaboklab(52.25% -0.1034 0.0699)
OKLCHoklch(52.25% 0.125 145.9)
XYZxyz(9.1897, 15.3483, 6.4804)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C3A #7C3072
analogous
#4C7C30 #307C3A #307C60
triadic
#307C3A #3A307C #7C3A30
tetradic
#307C3A #304C7C #7C3072 #7C6030
square
#307C3A #304C7C #7C3072 #7C6030
split-complementary
#307C3A #60307C #7C304C
monochromatic
#0E2411 #1F5025 #307C3A #41A84F #64C370

Accessibility & contrast

On white

5.16
#307C3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#307C3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C3A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C3A#FFFFFF#000000##FFFFFF
##307C3A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7134
Deuteranopia (green-blind)
#746B3F
Tritanopia (blue-blind)
#20796D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c3a;
/* rgb */ color: rgb(48, 124, 58);
/* oklch */ color: oklch(52.3% 0.125 145.9);
Tailwind
colors: {
  custom: {
    50: '#71a372',
    500: '#307c3a',
    950: '#000000',
  },
}
SCSS
$custom: #307c3a;
$custom-light: #71a372;
$custom-dark: #000000;
JSON
{
  "hex": "#307c3a",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 58
  },
  "hsl": {
    "h": 127.895,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.12486,
    "h": 145.9
  },
  "luminance": 0.15349
}

Semantic roles & 50–950 ramp

primary
#307C3A
secondary
#AA5EA0
accent
#54C3D4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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