#307E34#307E34

#307E34 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.133 H 144.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#307E34
RGBrgb(48, 126, 52)
HSLhsl(123, 45%, 34%)
HSVhsv(123, 62%, 49%)
CMYKcmyk(61.9%, 0%, 58.7%, 50.6%)
CIE-LABlab(46.71, -39.90, 32.83)
CIE-LCHlch(46.71, 51.67, 140.55°)
OKLaboklab(52.72% -0.1082 0.0779)
OKLCHoklch(52.72% 0.133 144.2)
XYZxyz(9.2991, 15.7972, 5.8073)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E34 #7E307A
analogous
#537E30 #307E34 #307E5B
triadic
#307E34 #34307E #7E3430
tetradic
#307E34 #30537E #7E307A #7E5B30
square
#307E34 #30537E #7E307A #7E5B30
split-complementary
#307E34 #5B307E #7E3053
monochromatic
#0E250F #1F5222 #307E34 #41AA46 #64C469

Accessibility & contrast

On white

5.05
#307E34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#307E34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E34
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E34#FFFFFF#000000##FFFFFF
##307E341.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732D
Deuteranopia (green-blind)
#766C3A
Tritanopia (blue-blind)
#217B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307e34;
/* rgb */ color: rgb(48, 126, 52);
/* oklch */ color: oklch(52.7% 0.133 144.2);
Tailwind
colors: {
  custom: {
    50: '#71a46e',
    500: '#307e34',
    950: '#000000',
  },
}
SCSS
$custom: #307e34;
$custom-light: #71a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#307e34",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 123.077,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5272,
    "c": 0.13334,
    "h": 144.2
  },
  "luminance": 0.15798
}

Semantic roles & 50–950 ramp

primary
#307E34
secondary
#AB5FA7
accent
#53CED5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307E34

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

Preview Lab → · Contrast checker → · Palette generator →

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