#307C2B#307C2B

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

Color values

HEX#307C2B
RGBrgb(48, 124, 43)
HSLhsl(116, 49%, 33%)
HSVhsv(116, 65%, 49%)
CMYKcmyk(61.3%, 0%, 65.3%, 51.4%)
CIE-LABlab(45.93, -40.21, 36.35)
CIE-LCHlch(45.93, 54.20, 137.89°)
OKLaboklab(52.05% -0.1095 0.0846)
OKLCHoklch(52.05% 0.138 142.3)
XYZxyz(8.8622, 15.2173, 4.7552)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C2B #772B7C
analogous
#597C2B #307C2B #2B7C4E
triadic
#307C2B #2B307C #7C2B30
tetradic
#307C2B #2B597C #772B7C #7C4E2B
square
#307C2B #2B597C #772B7C #7C4E2B
split-complementary
#307C2B #4E2B7C #7C2B59
monochromatic
#0D210B #1E4F1B #307C2B #42A93B #62C65B

Accessibility & contrast

On white

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

On black

4.04
#307C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##307C2B#FFFFFF#000000##FFFFFF
##307C2B1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7122
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#24786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c2b;
/* rgb */ color: rgb(48, 124, 43);
/* oklch */ color: oklch(52.0% 0.138 142.3);
Tailwind
colors: {
  custom: {
    50: '#71a368',
    500: '#307c2b',
    950: '#000000',
  },
}
SCSS
$custom: #307c2b;
$custom-light: #71a368;
$custom-dark: #000000;
JSON
{
  "hex": "#307c2b",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 116.296,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52047,
    "c": 0.1384,
    "h": 142.3
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#307C2B
secondary
#A757AC
accent
#50D8D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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