#307828#307828

#307828 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.135 H 141.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#307828
RGBrgb(48, 120, 40)
HSLhsl(114, 50%, 31%)
HSVhsv(114, 67%, 47%)
CMYKcmyk(60%, 0%, 66.7%, 52.9%)
CIE-LABlab(44.54, -38.95, 36.20)
CIE-LCHlch(44.54, 53.18, 137.09°)
OKLaboklab(50.89% -0.1063 0.084)
OKLCHoklch(50.89% 0.135 141.7)
XYZxyz(8.3180, 14.2138, 4.3123)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307828 #702878
analogous
#587828 #307828 #287848
triadic
#307828 #283078 #782830
tetradic
#307828 #285878 #702878 #784828
square
#307828 #285878 #702878 #784828
split-complementary
#307828 #482878 #782858
monochromatic
#0B1C09 #1E4A19 #307828 #42A637 #60C654

Accessibility & contrast

On white

5.46
#307828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#307828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307828
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307828#FFFFFF#000000##FFFFFF
##3078281.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1E
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#257467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #307828;
/* rgb */ color: rgb(48, 120, 40);
/* oklch */ color: oklch(50.9% 0.135 141.7);
Tailwind
colors: {
  custom: {
    50: '#71a066',
    500: '#307828',
    950: '#000000',
  },
}
SCSS
$custom: #307828;
$custom-light: #71a066;
$custom-dark: #000000;
JSON
{
  "hex": "#307828",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 114,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50889,
    "c": 0.13546,
    "h": 141.7
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

primary
#307828
secondary
#A152AA
accent
#4EDACC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #307828

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

Preview Lab → · Contrast checker → · Palette generator →

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