#307C2D#307C2D

#307C2D is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.137 H 142.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#307C2D
RGBrgb(48, 124, 45)
HSLhsl(118, 47%, 33%)
HSVhsv(118, 64%, 49%)
CMYKcmyk(61.3%, 0%, 63.7%, 51.4%)
CIE-LABlab(45.95, -39.98, 35.42)
CIE-LCHlch(45.95, 53.41, 138.47°)
OKLaboklab(52.07% -0.1088 0.0828)
OKLCHoklch(52.07% 0.137 142.7)
XYZxyz(8.8998, 15.2323, 4.9532)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C2D #792D7C
analogous
#577C2D #307C2D #2D7C51
triadic
#307C2D #2D307C #7C2D30
tetradic
#307C2D #2D577C #792D7C #7C512D
square
#307C2D #2D577C #792D7C #7C512D
split-complementary
#307C2D #512D7C #7C2D57
monochromatic
#0D220C #1F4F1D #307C2D #41A93D #62C55F

Accessibility & contrast

On white

5.19
#307C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#307C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C2D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C2D#FFFFFF#000000##FFFFFF
##307C2D1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#23786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c2d;
/* rgb */ color: rgb(48, 124, 45);
/* oklch */ color: oklch(52.1% 0.137 142.7);
Tailwind
colors: {
  custom: {
    50: '#71a369',
    500: '#307c2d',
    950: '#000000',
  },
}
SCSS
$custom: #307c2d;
$custom-light: #71a369;
$custom-dark: #000000;
JSON
{
  "hex": "#307c2d",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 117.722,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52071,
    "c": 0.13674,
    "h": 142.7
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#307C2D
secondary
#A85AAB
accent
#51D6D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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