#307C25#307C25

#307C25 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.143 H 141.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#307C25
RGBrgb(48, 124, 37)
HSLhsl(112, 54%, 32%)
HSVhsv(112, 70%, 49%)
CMYKcmyk(61.3%, 0%, 70.2%, 51.4%)
CIE-LABlab(45.88, -40.85, 39.01)
CIE-LCHlch(45.88, 56.48, 136.32°)
OKLaboklab(51.98% -0.1116 0.0896)
OKLCHoklch(51.98% 0.143 141.3)
XYZxyz(8.7601, 15.1765, 4.2176)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C25 #71257C
analogous
#5C7C25 #307C25 #257C46
triadic
#307C25 #25307C #7C2530
tetradic
#307C25 #255C7C #71257C #7C4625
square
#307C25 #255C7C #71257C #7C4625
split-complementary
#307C25 #46257C #7C255C
monochromatic
#0C1E09 #1E4D17 #307C25 #42AB33 #60CB50

Accessibility & contrast

On white

5.20
#307C25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#307C25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C25
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C25#FFFFFF#000000##FFFFFF
##307C251.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7119
Deuteranopia (green-blind)
#766A2D
Tritanopia (blue-blind)
#25786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c25;
/* rgb */ color: rgb(48, 124, 37);
/* oklch */ color: oklch(52.0% 0.143 141.3);
Tailwind
colors: {
  custom: {
    50: '#72a364',
    500: '#307c25',
    950: '#000000',
  },
}
SCSS
$custom: #307c25;
$custom-light: #72a364;
$custom-dark: #000000;
JSON
{
  "hex": "#307c25",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 37
  },
  "hsl": {
    "h": 112.414,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51984,
    "c": 0.14309,
    "h": 141.3
  },
  "luminance": 0.15177
}

Semantic roles & 50–950 ramp

primary
#307C25
secondary
#A24FAE
accent
#4ADDCB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307C25

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

Preview Lab → · Contrast checker → · Palette generator →

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