#307A2D#307A2D

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

Color values

HEX#307A2D
RGBrgb(48, 122, 45)
HSLhsl(118, 46%, 33%)
HSVhsv(118, 63%, 48%)
CMYKcmyk(60.7%, 0%, 63.1%, 52.2%)
CIE-LABlab(45.27, -39.18, 34.64)
CIE-LCHlch(45.27, 52.30, 138.52°)
OKLaboklab(51.51% -0.1066 0.0812)
OKLCHoklch(51.51% 0.134 142.7)
XYZxyz(8.6516, 14.7361, 4.8705)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A2D #772D7A
analogous
#577A2D #307A2D #2D7A50
triadic
#307A2D #2D307A #7A2D30
tetradic
#307A2D #2D577A #772D7A #7A502D
square
#307A2D #2D577A #772D7A #7A502D
split-complementary
#307A2D #502D7A #7A2D57
monochromatic
#0D210C #1E4D1D #307A2D #42A73D #62C45E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307A2D#FFFFFF#000000##FFFFFF
##307A2D1.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)
#7D6F25
Deuteranopia (green-blind)
#736933
Tritanopia (blue-blind)
#247669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a2d;
/* rgb */ color: rgb(48, 122, 45);
/* oklch */ color: oklch(51.5% 0.134 142.7);
Tailwind
colors: {
  custom: {
    50: '#71a169',
    500: '#307a2d',
    950: '#000000',
  },
}
SCSS
$custom: #307a2d;
$custom-light: #71a169;
$custom-dark: #000000;
JSON
{
  "hex": "#307a2d",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 117.662,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.13401,
    "h": 142.7
  },
  "luminance": 0.14737
}

Semantic roles & 50–950 ramp

primary
#307A2D
secondary
#A759AA
accent
#52D6D1
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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