#307E42#307E42

#307E42 is a mid, moderate green. Relative luminance 0.159; OKLCH L 52.9% C 0.120 H 148.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#307E42
RGBrgb(48, 126, 66)
HSLhsl(134, 45%, 34%)
HSVhsv(134, 62%, 49%)
CMYKcmyk(61.9%, 0%, 47.6%, 50.6%)
CIE-LABlab(46.90, -37.76, 25.66)
CIE-LCHlch(46.90, 45.66, 145.80°)
OKLaboklab(52.94% -0.1021 0.0628)
OKLCHoklch(52.94% 0.12 148.4)
XYZxyz(9.6625, 15.9425, 7.7212)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E42 #7E306C
analogous
#457E30 #307E42 #307E69
triadic
#307E42 #42307E #7E4230
tetradic
#307E42 #30457E #7E306C #7E6930
square
#307E42 #30457E #7E306C #7E6930
split-complementary
#307E42 #69307E #7E3045
monochromatic
#0E2514 #1F522B #307E42 #41AA59 #64C47A

Accessibility & contrast

On white

5.01
#307E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#307E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E42
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E42#FFFFFF#000000##FFFFFF
##307E421.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733D
Deuteranopia (green-blind)
#756C46
Tritanopia (blue-blind)
#1C7C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307e42;
/* rgb */ color: rgb(48, 126, 66);
/* oklch */ color: oklch(52.9% 0.120 148.4);
Tailwind
colors: {
  custom: {
    50: '#71a477',
    500: '#307e42',
    950: '#000000',
  },
}
SCSS
$custom: #307e42;
$custom-light: #71a477;
$custom-dark: #000000;
JSON
{
  "hex": "#307e42",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 66
  },
  "hsl": {
    "h": 133.846,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5294,
    "c": 0.11985,
    "h": 148.4
  },
  "luminance": 0.15943
}

Semantic roles & 50–950 ramp

primary
#307E42
secondary
#AB5F9A
accent
#53B7D5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #307E42

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

Preview Lab → · Contrast checker → · Palette generator →

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