#308E2C#308E2C

#308E2C is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.161 H 142.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#308E2C
RGBrgb(48, 142, 44)
HSLhsl(118, 53%, 36%)
HSVhsv(118, 69%, 56%)
CMYKcmyk(66.2%, 0%, 69%, 44.3%)
CIE-LABlab(52.01, -46.97, 42.56)
CIE-LCHlch(52.01, 63.38, 137.82°)
OKLaboklab(57.08% -0.1278 0.0979)
OKLCHoklch(57.08% 0.161 142.5)
XYZxyz(11.3459, 20.1551, 5.6748)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E2C #8A2C8E
analogous
#618E2C #308E2C #2C8E59
triadic
#308E2C #2C308E #8E2C30
tetradic
#308E2C #2C618E #8A2C8E #8E592C
square
#308E2C #2C618E #8A2C8E #8E592C
split-complementary
#308E2C #592C8E #8E2C61
monochromatic
#10310F #205F1E #308E2C #40BD3A #69CF65

Accessibility & contrast

On white

4.17
#308E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#308E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E2C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E2C#FFFFFF#000000##000000
##308E2C1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811F
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#1C8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e2c;
/* rgb */ color: rgb(48, 142, 44);
/* oklch */ color: oklch(57.1% 0.161 142.5);
Tailwind
colors: {
  custom: {
    50: '#75b06a',
    500: '#308e2c',
    950: '#000000',
  },
}
SCSS
$custom: #308e2c;
$custom-light: #75b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#308e2c",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 117.551,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.16094,
    "h": 142.5
  },
  "luminance": 0.20156
}

Semantic roles & 50–950 ramp

primary
#308E2C
secondary
#B260B6
accent
#4CDCD6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #308E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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