#307F2D#307F2D

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

Color values

HEX#307F2D
RGBrgb(48, 127, 45)
HSLhsl(118, 48%, 34%)
HSVhsv(118, 65%, 50%)
CMYKcmyk(62.2%, 0%, 64.6%, 50.2%)
CIE-LABlab(46.97, -41.17, 36.56)
CIE-LCHlch(46.97, 55.06, 138.39°)
OKLaboklab(52.91% -0.112 0.0853)
OKLCHoklch(52.91% 0.141 142.7)
XYZxyz(9.2814, 15.9957, 5.0805)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F2D #7C2D7F
analogous
#597F2D #307F2D #2D7F53
triadic
#307F2D #2D307F #7F2D30
tetradic
#307F2D #2D597F #7C2D7F #7F532D
square
#307F2D #2D597F #7C2D7F #7F532D
split-complementary
#307F2D #532D7F #7F2D59
monochromatic
#0E250D #1F521D #307F2D #41AC3D #64C760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307F2D#FFFFFF#000000##FFFFFF
##307F2D1.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)
#827324
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#227B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f2d;
/* rgb */ color: rgb(48, 127, 45);
/* oklch */ color: oklch(52.9% 0.141 142.7);
Tailwind
colors: {
  custom: {
    50: '#72a569',
    500: '#307f2d',
    950: '#000000',
  },
}
SCSS
$custom: #307f2d;
$custom-light: #72a569;
$custom-dark: #000000;
JSON
{
  "hex": "#307f2d",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 117.805,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.14079,
    "h": 142.7
  },
  "luminance": 0.15997
}

Semantic roles & 50–950 ramp

primary
#307F2D
secondary
#AA5BAD
accent
#51D7D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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