#307A2F#307A2F

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

Color values

HEX#307A2F
RGBrgb(48, 122, 47)
HSLhsl(119, 44%, 33%)
HSVhsv(119, 61%, 48%)
CMYKcmyk(60.7%, 0%, 61.5%, 52.2%)
CIE-LABlab(45.29, -38.93, 33.69)
CIE-LCHlch(45.29, 51.48, 139.13°)
OKLaboklab(51.54% -0.1058 0.0793)
OKLCHoklch(51.54% 0.132 143.1)
XYZxyz(8.6911, 14.7519, 5.0782)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A2F #792F7A
analogous
#557A2F #307A2F #2F7A53
triadic
#307A2F #2F307A #7A2F30
tetradic
#307A2F #2F557A #792F7A #7A532F
square
#307A2F #2F557A #792F7A #7A532F
split-complementary
#307A2F #532F7A #7A2F55
monochromatic
#0D220D #1F4E1E #307A2F #41A640 #62C261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307A2F#FFFFFF#000000##FFFFFF
##307A2F1.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)
#7D6F27
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#23776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a2f;
/* rgb */ color: rgb(48, 122, 47);
/* oklch */ color: oklch(51.5% 0.132 143.1);
Tailwind
colors: {
  custom: {
    50: '#71a16a',
    500: '#307a2f',
    950: '#000000',
  },
}
SCSS
$custom: #307a2f;
$custom-light: #71a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#307a2f",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 119.2,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51535,
    "c": 0.13227,
    "h": 143.1
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#307A2F
secondary
#A85CA9
accent
#54D4D2
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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