#307D2F#307D2F

#307D2F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.136 H 143.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#307D2F
RGBrgb(48, 125, 47)
HSLhsl(119, 45%, 34%)
HSVhsv(119, 62%, 49%)
CMYKcmyk(61.6%, 0%, 62.4%, 51%)
CIE-LABlab(46.31, -40.14, 34.86)
CIE-LCHlch(46.31, 53.16, 139.03°)
OKLaboklab(52.38% -0.1091 0.0819)
OKLCHoklch(52.38% 0.136 143.1)
XYZxyz(9.0651, 15.5000, 5.2029)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D2F #7C2F7D
analogous
#577D2F #307D2F #2F7D55
triadic
#307D2F #2F307D #7D2F30
tetradic
#307D2F #2F577D #7C2F7D #7D552F
square
#307D2F #2F577D #7C2F7D #7D552F
split-complementary
#307D2F #552F7D #7D2F57
monochromatic
#0E240E #1F511E #307D2F #41A940 #64C462

Accessibility & contrast

On white

5.12
#307D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#307D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D2F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D2F#FFFFFF#000000##FFFFFF
##307D2F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#22796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307d2f;
/* rgb */ color: rgb(48, 125, 47);
/* oklch */ color: oklch(52.4% 0.136 143.1);
Tailwind
colors: {
  custom: {
    50: '#71a36a',
    500: '#307d2f',
    950: '#000000',
  },
}
SCSS
$custom: #307d2f;
$custom-light: #71a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#307d2f",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 119.231,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52375,
    "c": 0.1364,
    "h": 143.1
  },
  "luminance": 0.15501
}

Semantic roles & 50–950 ramp

primary
#307D2F
secondary
#AA5DAB
accent
#53D5D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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