#307F2B#307F2B

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

Color values

HEX#307F2B
RGBrgb(48, 127, 43)
HSLhsl(116, 49%, 33%)
HSVhsv(116, 66%, 50%)
CMYKcmyk(62.2%, 0%, 66.1%, 50.2%)
CIE-LABlab(46.95, -41.40, 37.48)
CIE-LCHlch(46.95, 55.84, 137.84°)
OKLaboklab(52.89% -0.1127 0.087)
OKLCHoklch(52.89% 0.142 142.3)
XYZxyz(9.2438, 15.9807, 4.8825)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F2B #7A2B7F
analogous
#5A7F2B #307F2B #2B7F50
triadic
#307F2B #2B307F #7F2B30
tetradic
#307F2B #2B5A7F #7A2B7F #7F502B
square
#307F2B #2B5A7F #7A2B7F #7F502B
split-complementary
#307F2B #502B7F #7F2B5A
monochromatic
#0D240C #1F511C #307F2B #41AD3A #63C85C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307F2B#FFFFFF#000000##FFFFFF
##307F2B1.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)
#827321
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#237B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f2b;
/* rgb */ color: rgb(48, 127, 43);
/* oklch */ color: oklch(52.9% 0.142 142.3);
Tailwind
colors: {
  custom: {
    50: '#72a568',
    500: '#307f2b',
    950: '#000000',
  },
}
SCSS
$custom: #307f2b;
$custom-light: #72a568;
$custom-dark: #000000;
JSON
{
  "hex": "#307f2b",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 116.429,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.14242,
    "h": 142.3
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#307F2B
secondary
#A958AE
accent
#4FD9D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #307F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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