#307B25#307B25

#307B25 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.142 H 141.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#307B25
RGBrgb(48, 123, 37)
HSLhsl(112, 54%, 31%)
HSVhsv(112, 70%, 48%)
CMYKcmyk(61%, 0%, 69.9%, 51.8%)
CIE-LABlab(45.53, -40.46, 38.65)
CIE-LCHlch(45.53, 55.95, 136.31°)
OKLaboklab(51.7% -0.1105 0.0888)
OKLCHoklch(51.7% 0.142 141.2)
XYZxyz(8.6354, 14.9271, 4.1761)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307B25 #70257B
analogous
#5B7B25 #307B25 #257B45
triadic
#307B25 #25307B #7B2530
tetradic
#307B25 #255B7B #70257B #7B4525
square
#307B25 #255B7B #70257B #7B4525
split-complementary
#307B25 #45257B #7B255B
monochromatic
#0B1D09 #1E4C17 #307B25 #42AA33 #60CA50

Accessibility & contrast

On white

5.27
#307B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#307B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307B25
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307B25#FFFFFF#000000##FFFFFF
##307B251.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7019
Deuteranopia (green-blind)
#75692D
Tritanopia (blue-blind)
#25776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307b25;
/* rgb */ color: rgb(48, 123, 37);
/* oklch */ color: oklch(51.7% 0.142 141.2);
Tailwind
colors: {
  custom: {
    50: '#71a264',
    500: '#307b25',
    950: '#000000',
  },
}
SCSS
$custom: #307b25;
$custom-light: #71a264;
$custom-dark: #000000;
JSON
{
  "hex": "#307b25",
  "rgb": {
    "r": 48,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 112.326,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51702,
    "c": 0.14178,
    "h": 141.2
  },
  "luminance": 0.14928
}

Semantic roles & 50–950 ramp

primary
#307B25
secondary
#A14FAD
accent
#4BDDCA
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307B25

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

Preview Lab → · Contrast checker → · Palette generator →

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