#307E25#307E25

#307E25 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.146 H 141.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#307E25
RGBrgb(48, 126, 37)
HSLhsl(113, 55%, 32%)
HSVhsv(113, 71%, 49%)
CMYKcmyk(61.9%, 0%, 70.6%, 50.6%)
CIE-LABlab(46.56, -41.63, 39.74)
CIE-LCHlch(46.56, 57.55, 136.33°)
OKLaboklab(52.55% -0.1137 0.0911)
OKLCHoklch(52.55% 0.146 141.3)
XYZxyz(9.0133, 15.6828, 4.3020)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E25 #73257E
analogous
#5D7E25 #307E25 #257E47
triadic
#307E25 #25307E #7E2530
tetradic
#307E25 #255D7E #73257E #7E4725
square
#307E25 #255D7E #73257E #7E4725
split-complementary
#307E25 #47257E #7E255D
monochromatic
#0C1F09 #1E4F17 #307E25 #42AD33 #61CC51

Accessibility & contrast

On white

5.08
#307E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#307E25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E25
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E25#FFFFFF#000000##FFFFFF
##307E251.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817218
Deuteranopia (green-blind)
#786C2D
Tritanopia (blue-blind)
#247A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e25;
/* rgb */ color: rgb(48, 126, 37);
/* oklch */ color: oklch(52.5% 0.146 141.3);
Tailwind
colors: {
  custom: {
    50: '#72a465',
    500: '#307e25',
    950: '#000000',
  },
}
SCSS
$custom: #307e25;
$custom-light: #72a465;
$custom-dark: #000000;
JSON
{
  "hex": "#307e25",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 112.584,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.14568,
    "h": 141.3
  },
  "luminance": 0.15684
}

Semantic roles & 50–950 ramp

primary
#307E25
secondary
#A44FB0
accent
#4ADECC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #307E25

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

Preview Lab → · Contrast checker → · Palette generator →

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