#307E2E#307E2E

#307E2E is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.139 H 142.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#307E2E
RGBrgb(48, 126, 46)
HSLhsl(119, 47%, 34%)
HSVhsv(119, 63%, 49%)
CMYKcmyk(61.9%, 0%, 63.5%, 50.6%)
CIE-LABlab(46.64, -40.66, 35.72)
CIE-LCHlch(46.64, 54.12, 138.70°)
OKLaboklab(52.64% -0.1106 0.0836)
OKLCHoklch(52.64% 0.139 142.9)
XYZxyz(9.1724, 15.7465, 5.1402)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E2E #7C2E7E
analogous
#587E2E #307E2E #2E7E54
triadic
#307E2E #2E307E #7E2E30
tetradic
#307E2E #2E587E #7C2E7E #7E542E
square
#307E2E #2E587E #7C2E7E #7E542E
split-complementary
#307E2E #542E7E #7E2E58
monochromatic
#0E240D #1F511E #307E2E #41AB3E #64C561

Accessibility & contrast

On white

5.06
#307E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#307E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E2E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E2E#FFFFFF#000000##FFFFFF
##307E2E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#227A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307e2e;
/* rgb */ color: rgb(48, 126, 46);
/* oklch */ color: oklch(52.6% 0.139 142.9);
Tailwind
colors: {
  custom: {
    50: '#72a46a',
    500: '#307e2e',
    950: '#000000',
  },
}
SCSS
$custom: #307e2e;
$custom-light: #72a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#307e2e",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 118.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52643,
    "c": 0.13861,
    "h": 142.9
  },
  "luminance": 0.15747
}

Semantic roles & 50–950 ramp

primary
#307E2E
secondary
#AA5CAC
accent
#52D6D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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