#307E2D#307E2D

#307E2D is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.139 H 142.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#307E2D
RGBrgb(48, 126, 45)
HSLhsl(118, 47%, 34%)
HSVhsv(118, 64%, 49%)
CMYKcmyk(61.9%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.63, -40.78, 36.18)
CIE-LCHlch(46.63, 54.52, 138.41°)
OKLaboklab(52.63% -0.1109 0.0845)
OKLCHoklch(52.63% 0.139 142.7)
XYZxyz(9.1529, 15.7387, 5.0376)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E2D #7B2D7E
analogous
#587E2D #307E2D #2D7E52
triadic
#307E2D #2D307E #7E2D30
tetradic
#307E2D #2D587E #7B2D7E #7E522D
square
#307E2D #2D587E #7B2D7E #7E522D
split-complementary
#307E2D #522D7E #7E2D58
monochromatic
#0E240D #1F511D #307E2D #41AB3D #63C65F

Accessibility & contrast

On white

5.06
#307E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#307E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E2D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E2D#FFFFFF#000000##FFFFFF
##307E2D1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#237A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e2d;
/* rgb */ color: rgb(48, 126, 45);
/* oklch */ color: oklch(52.6% 0.139 142.7);
Tailwind
colors: {
  custom: {
    50: '#72a469',
    500: '#307e2d',
    950: '#000000',
  },
}
SCSS
$custom: #307e2d;
$custom-light: #72a469;
$custom-dark: #000000;
JSON
{
  "hex": "#307e2d",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 117.778,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52631,
    "c": 0.13944,
    "h": 142.7
  },
  "luminance": 0.1574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #307E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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