#307F3A#307F3A

#307F3A is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.129 H 145.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#307F3A
RGBrgb(48, 127, 58)
HSLhsl(128, 45%, 34%)
HSVhsv(128, 62%, 50%)
CMYKcmyk(62.2%, 0%, 54.3%, 50.2%)
CIE-LABlab(47.12, -39.45, 30.23)
CIE-LCHlch(47.12, 49.70, 142.53°)
OKLaboklab(53.09% -0.1068 0.0727)
OKLCHoklch(53.09% 0.129 145.8)
XYZxyz(9.5714, 16.1117, 6.6076)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F3A #7F3075
analogous
#4E7F30 #307F3A #307F62
triadic
#307F3A #3A307F #7F3A30
tetradic
#307F3A #304E7F #7F3075 #7F6230
square
#307F3A #304E7F #7F3075 #7F6230
split-complementary
#307F3A #62307F #7F304E
monochromatic
#0E2611 #1F5326 #307F3A #41AB4E #65C571

Accessibility & contrast

On white

4.97
#307F3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#307F3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F3A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F3A#FFFFFF#000000##FFFFFF
##307F3A1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817434
Deuteranopia (green-blind)
#776D3F
Tritanopia (blue-blind)
#1E7C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #307f3a;
/* rgb */ color: rgb(48, 127, 58);
/* oklch */ color: oklch(53.1% 0.129 145.8);
Tailwind
colors: {
  custom: {
    50: '#71a572',
    500: '#307f3a',
    950: '#000000',
  },
}
SCSS
$custom: #307f3a;
$custom-light: #71a572;
$custom-dark: #000000;
JSON
{
  "hex": "#307f3a",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 58
  },
  "hsl": {
    "h": 127.595,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53085,
    "c": 0.12915,
    "h": 145.8
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

primary
#307F3A
secondary
#AC5FA2
accent
#53C4D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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