#307A25#307A25

#307A25 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.140 H 141.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#307A25
RGBrgb(48, 122, 37)
HSLhsl(112, 53%, 31%)
HSVhsv(112, 70%, 48%)
CMYKcmyk(60.7%, 0%, 69.7%, 52.2%)
CIE-LABlab(45.19, -40.06, 38.28)
CIE-LCHlch(45.19, 55.41, 136.30°)
OKLaboklab(51.42% -0.1095 0.088)
OKLCHoklch(51.42% 0.14 141.2)
XYZxyz(8.5120, 14.6803, 4.1349)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A25 #6F257A
analogous
#5A7A25 #307A25 #257A44
triadic
#307A25 #25307A #7A2530
tetradic
#307A25 #255A7A #6F257A #7A4425
square
#307A25 #255A7A #6F257A #7A4425
split-complementary
#307A25 #44257A #7A255A
monochromatic
#0B1C09 #1E4B17 #307A25 #42A933 #5FCA50

Accessibility & contrast

On white

5.34
#307A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#307A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A25
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A25#FFFFFF#000000##FFFFFF
##307A251.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F19
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#257669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a25;
/* rgb */ color: rgb(48, 122, 37);
/* oklch */ color: oklch(51.4% 0.140 141.2);
Tailwind
colors: {
  custom: {
    50: '#71a164',
    500: '#307a25',
    950: '#000000',
  },
}
SCSS
$custom: #307a25;
$custom-light: #71a164;
$custom-dark: #000000;
JSON
{
  "hex": "#307a25",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 112.235,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51421,
    "c": 0.14046,
    "h": 141.2
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #307A25

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

Preview Lab → · Contrast checker → · Palette generator →

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