#308E2D#308E2D

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

Color values

HEX#308E2D
RGBrgb(48, 142, 45)
HSLhsl(118, 52%, 37%)
HSVhsv(118, 68%, 56%)
CMYKcmyk(66.2%, 0%, 68.3%, 44.3%)
CIE-LABlab(52.02, -46.87, 42.13)
CIE-LCHlch(52.02, 63.02, 138.04°)
OKLaboklab(57.09% -0.1274 0.0971)
OKLCHoklch(57.09% 0.16 142.7)
XYZxyz(11.3649, 20.1627, 5.7750)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E2D #8B2D8E
analogous
#618E2D #308E2D #2D8E5B
triadic
#308E2D #2D308E #8E2D30
tetradic
#308E2D #2D618E #8B2D8E #8E5B2D
square
#308E2D #2D618E #8B2D8E #8E5B2D
split-complementary
#308E2D #5B2D8E #8E2D61
monochromatic
#113110 #20601E #308E2D #40BC3C #6ACF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308E2D#FFFFFF#000000##000000
##308E2D1.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)
#918120
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#1C8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e2d;
/* rgb */ color: rgb(48, 142, 45);
/* oklch */ color: oklch(57.1% 0.160 142.7);
Tailwind
colors: {
  custom: {
    50: '#75b06b',
    500: '#308e2d',
    950: '#000000',
  },
}
SCSS
$custom: #308e2d;
$custom-light: #75b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#308e2d",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 118.144,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57086,
    "c": 0.16021,
    "h": 142.7
  },
  "luminance": 0.20164
}

Semantic roles & 50–950 ramp

primary
#308E2D
secondary
#B361B5
accent
#4CDBD7
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #308E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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