#307128#307128

#307128 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.126 H 141.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#307128
RGBrgb(48, 113, 40)
HSLhsl(113, 48%, 30%)
HSVhsv(113, 65%, 44%)
CMYKcmyk(57.5%, 0%, 64.6%, 55.7%)
CIE-LABlab(42.14, -36.08, 33.53)
CIE-LCHlch(42.14, 49.25, 137.10°)
OKLaboklab(48.91% -0.0985 0.0783)
OKLCHoklch(48.91% 0.126 141.5)
XYZxyz(7.5067, 12.5912, 4.0418)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307128 #692871
analogous
#547128 #307128 #287145
triadic
#307128 #283071 #712830
tetradic
#307128 #285471 #692871 #714528
square
#307128 #285471 #692871 #714528
split-complementary
#307128 #452871 #712854
monochromatic
#0A1708 #1D4418 #307128 #439E38 #5EC252

Accessibility & contrast

On white

5.97
#307128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#307128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307128
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307128#FFFFFF#000000##FFFFFF
##3071281.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6B612E
Tritanopia (blue-blind)
#276E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #307128;
/* rgb */ color: rgb(48, 113, 40);
/* oklch */ color: oklch(48.9% 0.126 141.5);
Tailwind
colors: {
  custom: {
    50: '#6f9a65',
    500: '#307128',
    950: '#000000',
  },
}
SCSS
$custom: #307128;
$custom-light: #6f9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#307128",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 113.425,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.48914,
    "c": 0.12583,
    "h": 141.5
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#307128
secondary
#9A52A3
accent
#50D7C9
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #307128

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

Preview Lab → · Contrast checker → · Palette generator →

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