#307A2E#307A2E

#307A2E is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.133 H 142.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#307A2E
RGBrgb(48, 122, 46)
HSLhsl(118, 45%, 33%)
HSVhsv(118, 62%, 48%)
CMYKcmyk(60.7%, 0%, 62.3%, 52.2%)
CIE-LABlab(45.28, -39.06, 34.17)
CIE-LCHlch(45.28, 51.89, 138.82°)
OKLaboklab(51.52% -0.1062 0.0803)
OKLCHoklch(51.52% 0.133 142.9)
XYZxyz(8.6711, 14.7439, 4.9731)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A2E #782E7A
analogous
#567A2E #307A2E #2E7A52
triadic
#307A2E #2E307A #7A2E30
tetradic
#307A2E #2E567A #782E7A #7A522E
square
#307A2E #2E567A #782E7A #7A522E
split-complementary
#307A2E #522E7A #7A2E56
monochromatic
#0D210C #1F4E1D #307A2E #41A63F #62C360

Accessibility & contrast

On white

5.32
#307A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#307A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A2E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A2E#FFFFFF#000000##FFFFFF
##307A2E1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F26
Deuteranopia (green-blind)
#736934
Tritanopia (blue-blind)
#24776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a2e;
/* rgb */ color: rgb(48, 122, 46);
/* oklch */ color: oklch(51.5% 0.133 142.9);
Tailwind
colors: {
  custom: {
    50: '#71a16a',
    500: '#307a2e',
    950: '#000000',
  },
}
SCSS
$custom: #307a2e;
$custom-light: #71a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#307a2e",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 118.421,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.13315,
    "h": 142.9
  },
  "luminance": 0.14745
}

Semantic roles & 50–950 ramp

primary
#307A2E
secondary
#A75AAA
accent
#53D5D2
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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