#307D2D#307D2D

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

Color values

HEX#307D2D
RGBrgb(48, 125, 45)
HSLhsl(118, 47%, 33%)
HSVhsv(118, 64%, 49%)
CMYKcmyk(61.6%, 0%, 64%, 51%)
CIE-LABlab(46.29, -40.38, 35.80)
CIE-LCHlch(46.29, 53.96, 138.44°)
OKLaboklab(52.35% -0.1099 0.0837)
OKLCHoklch(52.35% 0.138 142.7)
XYZxyz(9.0257, 15.4842, 4.9952)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D2D #7A2D7D
analogous
#587D2D #307D2D #2D7D52
triadic
#307D2D #2D307D #7D2D30
tetradic
#307D2D #2D587D #7A2D7D #7D522D
square
#307D2D #2D587D #7A2D7D #7D522D
split-complementary
#307D2D #522D7D #7D2D58
monochromatic
#0D230D #1F501D #307D2D #41AA3D #63C55F

Accessibility & contrast

On white

5.13
#307D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307D2D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D2D#FFFFFF#000000##FFFFFF
##307D2D1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#23796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307d2d;
/* rgb */ color: rgb(48, 125, 45);
/* oklch */ color: oklch(52.4% 0.138 142.7);
Tailwind
colors: {
  custom: {
    50: '#71a369',
    500: '#307d2d',
    950: '#000000',
  },
}
SCSS
$custom: #307d2d;
$custom-light: #71a369;
$custom-dark: #000000;
JSON
{
  "hex": "#307d2d",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 117.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.13809,
    "h": 142.7
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#307D2D
secondary
#A95AAC
accent
#51D7D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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