#307C2C#307C2C

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

Color values

HEX#307C2C
RGBrgb(48, 124, 44)
HSLhsl(117, 48%, 33%)
HSVhsv(117, 65%, 49%)
CMYKcmyk(61.3%, 0%, 64.5%, 51.4%)
CIE-LABlab(45.94, -40.10, 35.88)
CIE-LCHlch(45.94, 53.81, 138.18°)
OKLaboklab(52.06% -0.1092 0.0838)
OKLCHoklch(52.06% 0.138 142.5)
XYZxyz(8.8807, 15.2247, 4.8531)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C2C #782C7C
analogous
#587C2C #307C2C #2C7C50
triadic
#307C2C #2C307C #7C2C30
tetradic
#307C2C #2C587C #782C7C #7C502C
square
#307C2C #2C587C #782C7C #7C502C
split-complementary
#307C2C #502C7C #7C2C58
monochromatic
#0D220C #1F4F1C #307C2C #41A93C #62C55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307C2C#FFFFFF#000000##FFFFFF
##307C2C1.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)
#7F7123
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#23786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c2c;
/* rgb */ color: rgb(48, 124, 44);
/* oklch */ color: oklch(52.1% 0.138 142.5);
Tailwind
colors: {
  custom: {
    50: '#71a368',
    500: '#307c2c',
    950: '#000000',
  },
}
SCSS
$custom: #307c2c;
$custom-light: #71a368;
$custom-dark: #000000;
JSON
{
  "hex": "#307c2c",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 117,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52059,
    "c": 0.13759,
    "h": 142.5
  },
  "luminance": 0.15226
}

Semantic roles & 50–950 ramp

primary
#307C2C
secondary
#A758AC
accent
#51D7D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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