#307E40#307E40

#307E40 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.122 H 147.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#307E40
RGBrgb(48, 126, 64)
HSLhsl(132, 45%, 34%)
HSVhsv(132, 62%, 49%)
CMYKcmyk(61.9%, 0%, 49.2%, 50.6%)
CIE-LABlab(46.87, -38.10, 26.72)
CIE-LCHlch(46.87, 46.53, 144.96°)
OKLaboklab(52.91% -0.103 0.0651)
OKLCHoklch(52.91% 0.122 147.7)
XYZxyz(9.6045, 15.9193, 7.4161)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E40 #7E306E
analogous
#477E30 #307E40 #307E67
triadic
#307E40 #40307E #7E4030
tetradic
#307E40 #30477E #7E306E #7E6730
square
#307E40 #30477E #7E306E #7E6730
split-complementary
#307E40 #67307E #7E3047
monochromatic
#0E2513 #1F5229 #307E40 #41AA57 #64C478

Accessibility & contrast

On white

5.02
#307E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#307E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E40
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E40#FFFFFF#000000##FFFFFF
##307E401.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733B
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#1C7B6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307e40;
/* rgb */ color: rgb(48, 126, 64);
/* oklch */ color: oklch(52.9% 0.122 147.7);
Tailwind
colors: {
  custom: {
    50: '#71a476',
    500: '#307e40',
    950: '#000000',
  },
}
SCSS
$custom: #307e40;
$custom-light: #71a476;
$custom-dark: #000000;
JSON
{
  "hex": "#307e40",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 132.308,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52905,
    "c": 0.12185,
    "h": 147.7
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#307E40
secondary
#AB5F9B
accent
#53BAD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307E40

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

Preview Lab → · Contrast checker → · Palette generator →

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