#307628#307628

#307628 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.3% C 0.133 H 141.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#307628
RGBrgb(48, 118, 40)
HSLhsl(114, 49%, 31%)
HSVhsv(114, 66%, 46%)
CMYKcmyk(59.3%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.85, -38.14, 35.45)
CIE-LCHlch(43.85, 52.07, 137.10°)
OKLaboklab(50.33% -0.1041 0.0824)
OKLCHoklch(50.33% 0.133 141.6)
XYZxyz(8.0800, 13.7377, 4.2329)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307628 #6E2876
analogous
#577628 #307628 #287647
triadic
#307628 #283076 #762830
tetradic
#307628 #285776 #6E2876 #764728
square
#307628 #285776 #6E2876 #764728
split-complementary
#307628 #472876 #762857
monochromatic
#0B1B09 #1D4819 #307628 #43A437 #5FC554

Accessibility & contrast

On white

5.60
#307628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#307628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307628
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307628#FFFFFF#000000##FFFFFF
##3076281.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#267266
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #307628;
/* rgb */ color: rgb(48, 118, 40);
/* oklch */ color: oklch(50.3% 0.133 141.6);
Tailwind
colors: {
  custom: {
    50: '#709e65',
    500: '#307628',
    950: '#000000',
  },
}
SCSS
$custom: #307628;
$custom-light: #709e65;
$custom-dark: #000000;
JSON
{
  "hex": "#307628",
  "rgb": {
    "r": 48,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 113.846,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50326,
    "c": 0.13274,
    "h": 141.6
  },
  "luminance": 0.13738
}

Semantic roles & 50–950 ramp

primary
#307628
secondary
#9F52A8
accent
#4FD9CB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #307628

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

Preview Lab → · Contrast checker → · Palette generator →

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