#307E38#307E38

#307E38 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.130 H 145.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#307E38
RGBrgb(48, 126, 56)
HSLhsl(126, 45%, 34%)
HSVhsv(126, 62%, 49%)
CMYKcmyk(61.9%, 0%, 55.6%, 50.6%)
CIE-LABlab(46.76, -39.34, 30.84)
CIE-LCHlch(46.76, 49.98, 141.91°)
OKLaboklab(52.78% -0.1065 0.0739)
OKLCHoklch(52.78% 0.13 145.3)
XYZxyz(9.3930, 15.8347, 6.3020)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E38 #7E3076
analogous
#4F7E30 #307E38 #307E5F
triadic
#307E38 #38307E #7E3830
tetradic
#307E38 #304F7E #7E3076 #7E5F30
square
#307E38 #304F7E #7E3076 #7E5F30
split-complementary
#307E38 #5F307E #7E304F
monochromatic
#0E2511 #1F5224 #307E38 #41AA4C #64C46E

Accessibility & contrast

On white

5.04
#307E38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#307E38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E38
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E38#FFFFFF#000000##FFFFFF
##307E381.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807332
Deuteranopia (green-blind)
#766C3D
Tritanopia (blue-blind)
#1F7B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307e38;
/* rgb */ color: rgb(48, 126, 56);
/* oklch */ color: oklch(52.8% 0.130 145.3);
Tailwind
colors: {
  custom: {
    50: '#71a470',
    500: '#307e38',
    950: '#000000',
  },
}
SCSS
$custom: #307e38;
$custom-light: #71a470;
$custom-dark: #000000;
JSON
{
  "hex": "#307e38",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 56
  },
  "hsl": {
    "h": 126.154,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.12963,
    "h": 145.3
  },
  "luminance": 0.15836
}

Semantic roles & 50–950 ramp

primary
#307E38
secondary
#AB5FA3
accent
#53C7D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307E38

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

Preview Lab → · Contrast checker → · Palette generator →

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