#307127#307127

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

Color values

HEX#307127
RGBrgb(48, 113, 39)
HSLhsl(113, 49%, 30%)
HSVhsv(113, 65%, 44%)
CMYKcmyk(57.5%, 0%, 65.5%, 55.7%)
CIE-LABlab(42.13, -36.20, 34.00)
CIE-LCHlch(42.13, 49.66, 136.80°)
OKLaboklab(48.9% -0.0989 0.0792)
OKLCHoklch(48.9% 0.127 141.3)
XYZxyz(7.4899, 12.5845, 3.9534)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307127 #682771
analogous
#557127 #307127 #277143
triadic
#307127 #273071 #712730
tetradic
#307127 #275571 #682771 #714327
square
#307127 #275571 #682771 #714327
split-complementary
#307127 #432771 #712755
monochromatic
#0A1708 #1D4417 #307127 #439E37 #5EC350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307127#FFFFFF#000000##FFFFFF
##3071271.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)
#74671E
Deuteranopia (green-blind)
#6B612D
Tritanopia (blue-blind)
#286D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #307127;
/* rgb */ color: rgb(48, 113, 39);
/* oklch */ color: oklch(48.9% 0.127 141.3);
Tailwind
colors: {
  custom: {
    50: '#6f9a64',
    500: '#307127',
    950: '#000000',
  },
}
SCSS
$custom: #307127;
$custom-light: #6f9a64;
$custom-dark: #000000;
JSON
{
  "hex": "#307127",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 39
  },
  "hsl": {
    "h": 112.703,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48902,
    "c": 0.12668,
    "h": 141.3
  },
  "luminance": 0.12585
}

Semantic roles & 50–950 ramp

primary
#307127
secondary
#9950A3
accent
#50D8C8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #307127

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

Preview Lab → · Contrast checker → · Palette generator →

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