#307F30#307F30

#307F30 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.138 H 143.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#307F30
RGBrgb(48, 127, 48)
HSLhsl(120, 45%, 34%)
HSVhsv(120, 62%, 50%)
CMYKcmyk(62.2%, 0%, 62.2%, 50.2%)
CIE-LABlab(47.00, -40.81, 35.16)
CIE-LCHlch(47.00, 53.87, 139.25°)
OKLaboklab(52.95% -0.1109 0.0826)
OKLCHoklch(52.95% 0.138 143.3)
XYZxyz(9.3413, 16.0196, 5.3956)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F30 #7F307F
analogous
#587F30 #307F30 #307F58
triadic
#307F30 #30307F #7F3030
tetradic
#307F30 #30587F #7F307F #7F5830
square
#307F30 #30587F #7F307F #7F5830
split-complementary
#307F30 #58307F #7F3058
monochromatic
#0E260E #1F531F #307F30 #41AB41 #65C565

Accessibility & contrast

On white

5.00
#307F30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#307F30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F30
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F30#FFFFFF#000000##FFFFFF
##307F301.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827428
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#217B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f30;
/* rgb */ color: rgb(48, 127, 48);
/* oklch */ color: oklch(52.9% 0.138 143.3);
Tailwind
colors: {
  custom: {
    50: '#72a56b',
    500: '#307f30',
    950: '#000000',
  },
}
SCSS
$custom: #307f30;
$custom-light: #72a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#307f30",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 48
  },
  "hsl": {
    "h": 120,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52947,
    "c": 0.13826,
    "h": 143.3
  },
  "luminance": 0.16021
}

Semantic roles & 50–950 ramp

primary
#307F30
secondary
#AC5FAC
accent
#53D5D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307F30

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

Preview Lab → · Contrast checker → · Palette generator →

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