#308F2C#308F2C

#308F2C is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.162 H 142.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#308F2C
RGBrgb(48, 143, 44)
HSLhsl(118, 53%, 37%)
HSVhsv(118, 69%, 56%)
CMYKcmyk(66.4%, 0%, 69.2%, 43.9%)
CIE-LABlab(52.35, -47.33, 42.91)
CIE-LCHlch(52.35, 63.89, 137.80°)
OKLaboklab(57.35% -0.1287 0.0986)
OKLCHoklch(57.35% 0.162 142.5)
XYZxyz(11.4954, 20.4540, 5.7246)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F2C #8B2C8F
analogous
#628F2C #308F2C #2C8F5A
triadic
#308F2C #2C308F #8F2C30
tetradic
#308F2C #2C628F #8B2C8F #8F5A2C
square
#308F2C #2C628F #8B2C8F #8F5A2C
split-complementary
#308F2C #5A2C8F #8F2C62
monochromatic
#11310F #20601E #308F2C #40BE3A #6AD066

Accessibility & contrast

On white

4.12
#308F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#308F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F2C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F2C#FFFFFF#000000##000000
##308F2C1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821E
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#1C8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f2c;
/* rgb */ color: rgb(48, 143, 44);
/* oklch */ color: oklch(57.4% 0.162 142.5);
Tailwind
colors: {
  custom: {
    50: '#75b16a',
    500: '#308f2c',
    950: '#000000',
  },
}
SCSS
$custom: #308f2c;
$custom-light: #75b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#308f2c",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 117.576,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.16219,
    "h": 142.5
  },
  "luminance": 0.20455
}

Semantic roles & 50–950 ramp

primary
#308F2C
secondary
#B361B6
accent
#4BDCD6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #308F2C

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

Preview Lab → · Contrast checker → · Palette generator →

#308F2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva