#307D25#307D25

#307D25 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.144 H 141.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#307D25
RGBrgb(48, 125, 37)
HSLhsl(113, 54%, 32%)
HSVhsv(113, 70%, 49%)
CMYKcmyk(61.6%, 0%, 70.4%, 51%)
CIE-LABlab(46.22, -41.24, 39.37)
CIE-LCHlch(46.22, 57.02, 136.33°)
OKLaboklab(52.26% -0.1127 0.0903)
OKLCHoklch(52.26% 0.144 141.3)
XYZxyz(8.8860, 15.4284, 4.2596)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D25 #72257D
analogous
#5C7D25 #307D25 #257D46
triadic
#307D25 #25307D #7D2530
tetradic
#307D25 #255C7D #72257D #7D4625
square
#307D25 #255C7D #72257D #7D4625
split-complementary
#307D25 #46257D #7D255C
monochromatic
#0C1F09 #1E4E17 #307D25 #42AC33 #60CB51

Accessibility & contrast

On white

5.14
#307D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#307D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D25
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D25#FFFFFF#000000##FFFFFF
##307D251.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807119
Deuteranopia (green-blind)
#776B2D
Tritanopia (blue-blind)
#24796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307d25;
/* rgb */ color: rgb(48, 125, 37);
/* oklch */ color: oklch(52.3% 0.144 141.3);
Tailwind
colors: {
  custom: {
    50: '#72a364',
    500: '#307d25',
    950: '#000000',
  },
}
SCSS
$custom: #307d25;
$custom-light: #72a364;
$custom-dark: #000000;
JSON
{
  "hex": "#307d25",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 112.5,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.14439,
    "h": 141.3
  },
  "luminance": 0.15429
}

Semantic roles & 50–950 ramp

primary
#307D25
secondary
#A34FAF
accent
#4ADECB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #307D25

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

Preview Lab → · Contrast checker → · Palette generator →

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