#307F25#307F25

#307F25 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.147 H 141.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#307F25
RGBrgb(48, 127, 37)
HSLhsl(113, 55%, 32%)
HSVhsv(113, 71%, 50%)
CMYKcmyk(62.2%, 0%, 70.9%, 50.2%)
CIE-LABlab(46.90, -42.01, 40.10)
CIE-LCHlch(46.90, 58.08, 136.34°)
OKLaboklab(52.83% -0.1147 0.0918)
OKLCHoklch(52.83% 0.147 141.3)
XYZxyz(9.1418, 15.9398, 4.3448)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F25 #74257F
analogous
#5D7F25 #307F25 #257F47
triadic
#307F25 #25307F #7F2530
tetradic
#307F25 #255D7F #74257F #7F4725
square
#307F25 #255D7F #74257F #7F4725
split-complementary
#307F25 #47257F #7F255D
monochromatic
#0C2009 #1E5017 #307F25 #42AE33 #61CD52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307F25#FFFFFF#000000##FFFFFF
##307F251.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)
#827318
Deuteranopia (green-blind)
#786D2D
Tritanopia (blue-blind)
#247B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f25;
/* rgb */ color: rgb(48, 127, 37);
/* oklch */ color: oklch(52.8% 0.147 141.3);
Tailwind
colors: {
  custom: {
    50: '#72a565',
    500: '#307f25',
    950: '#000000',
  },
}
SCSS
$custom: #307f25;
$custom-light: #72a565;
$custom-dark: #000000;
JSON
{
  "hex": "#307f25",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 112.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52827,
    "c": 0.14697,
    "h": 141.3
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #307F25

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

Preview Lab → · Contrast checker → · Palette generator →

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