#307239#307239

#307239 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.4% C 0.111 H 146.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#307239
RGBrgb(48, 114, 57)
HSLhsl(128, 41%, 32%)
HSVhsv(128, 58%, 45%)
CMYKcmyk(57.9%, 0%, 50%, 55.3%)
CIE-LABlab(42.70, -34.13, 25.31)
CIE-LCHlch(42.70, 42.49, 143.44°)
OKLaboklab(49.44% -0.0925 0.0616)
OKLCHoklch(49.44% 0.111 146.3)
XYZxyz(7.9743, 12.9577, 5.9510)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307239 #723069
analogous
#487230 #307239 #30725A
triadic
#307239 #393072 #723930
tetradic
#307239 #304872 #723069 #725A30
square
#307239 #304872 #723069 #725A30
split-complementary
#307239 #5A3072 #723048
monochromatic
#0C1C0E #1E4723 #307239 #429D4F #60BC6D

Accessibility & contrast

On white

5.85
#307239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#307239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307239
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307239#FFFFFF#000000##FFFFFF
##3072391.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746834
Deuteranopia (green-blind)
#6B623D
Tritanopia (blue-blind)
#236F65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #307239;
/* rgb */ color: rgb(48, 114, 57);
/* oklch */ color: oklch(49.4% 0.111 146.3);
Tailwind
colors: {
  custom: {
    50: '#6f9b70',
    500: '#307239',
    950: '#000000',
  },
}
SCSS
$custom: #307239;
$custom-light: #6f9b70;
$custom-dark: #000000;
JSON
{
  "hex": "#307239",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 128.182,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49444,
    "c": 0.11108,
    "h": 146.3
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

primary
#307239
secondary
#A35B99
accent
#57C0D1
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #307239

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

Preview Lab → · Contrast checker → · Palette generator →

#307239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva