#307D38#307D38

#307D38 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.128 H 145.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#307D38
RGBrgb(48, 125, 56)
HSLhsl(126, 45%, 34%)
HSVhsv(126, 62%, 49%)
CMYKcmyk(61.6%, 0%, 55.2%, 51%)
CIE-LABlab(46.42, -38.93, 30.43)
CIE-LCHlch(46.42, 49.41, 141.99°)
OKLaboklab(52.5% -0.1054 0.073)
OKLCHoklch(52.5% 0.128 145.3)
XYZxyz(9.2658, 15.5803, 6.2596)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D38 #7D3075
analogous
#4F7D30 #307D38 #307D5F
triadic
#307D38 #38307D #7D3830
tetradic
#307D38 #304F7D #7D3075 #7D5F30
square
#307D38 #304F7D #7D3075 #7D5F30
split-complementary
#307D38 #5F307D #7D304F
monochromatic
#0E2510 #1F5124 #307D38 #41A94C #64C36E

Accessibility & contrast

On white

5.10
#307D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#307D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D38
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D38#FFFFFF#000000##FFFFFF
##307D381.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7232
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#207A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307d38;
/* rgb */ color: rgb(48, 125, 56);
/* oklch */ color: oklch(52.5% 0.128 145.3);
Tailwind
colors: {
  custom: {
    50: '#71a370',
    500: '#307d38',
    950: '#000000',
  },
}
SCSS
$custom: #307d38;
$custom-light: #71a370;
$custom-dark: #000000;
JSON
{
  "hex": "#307d38",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 126.234,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52499,
    "c": 0.12821,
    "h": 145.3
  },
  "luminance": 0.15581
}

Semantic roles & 50–950 ramp

primary
#307D38
secondary
#AB5EA3
accent
#54C7D4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307D38

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

Preview Lab → · Contrast checker → · Palette generator →

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