#307D2B#307D2B

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

Color values

HEX#307D2B
RGBrgb(48, 125, 43)
HSLhsl(116, 49%, 33%)
HSVhsv(116, 66%, 49%)
CMYKcmyk(61.6%, 0%, 65.6%, 51%)
CIE-LABlab(46.27, -40.61, 36.72)
CIE-LCHlch(46.27, 54.75, 137.88°)
OKLaboklab(52.33% -0.1106 0.0854)
OKLCHoklch(52.33% 0.14 142.3)
XYZxyz(8.9881, 15.4692, 4.7972)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D2B #782B7D
analogous
#597D2B #307D2B #2B7D4F
triadic
#307D2B #2B307D #7D2B30
tetradic
#307D2B #2B597D #782B7D #7D4F2B
square
#307D2B #2B597D #782B7D #7D4F2B
split-complementary
#307D2B #4F2B7D #7D2B59
monochromatic
#0D220C #1F4F1B #307D2B #41AB3B #62C75C

Accessibility & contrast

On white

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

On black

4.09
#307D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##307D2B#FFFFFF#000000##FFFFFF
##307D2B1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #307d2b;
/* rgb */ color: rgb(48, 125, 43);
/* oklch */ color: oklch(52.3% 0.140 142.3);
Tailwind
colors: {
  custom: {
    50: '#72a368',
    500: '#307d2b',
    950: '#000000',
  },
}
SCSS
$custom: #307d2b;
$custom-light: #72a368;
$custom-dark: #000000;
JSON
{
  "hex": "#307d2b",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 116.341,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.13975,
    "h": 142.3
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

primary
#307D2B
secondary
#A757AD
accent
#4FD8D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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