#308D2E#308D2E

#308D2E is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.158 H 142.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#308D2E
RGBrgb(48, 141, 46)
HSLhsl(119, 51%, 37%)
HSVhsv(119, 67%, 55%)
CMYKcmyk(66%, 0%, 67.4%, 44.7%)
CIE-LABlab(51.69, -46.39, 41.34)
CIE-LCHlch(51.69, 62.14, 138.30°)
OKLaboklab(56.82% -0.1261 0.0956)
OKLCHoklch(56.82% 0.158 142.8)
XYZxyz(11.2363, 19.8743, 5.8282)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D2E #8B2E8D
analogous
#608D2E #308D2E #2E8D5C
triadic
#308D2E #2E308D #8D2E30
tetradic
#308D2E #2E608D #8B2E8D #8D5C2E
square
#308D2E #2E608D #8B2E8D #8D5C2E
split-complementary
#308D2E #5C2E8D #8D2E60
monochromatic
#113110 #205F1F #308D2E #40BB3D #6ACE68

Accessibility & contrast

On white

4.22
#308D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#308D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D2E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D2E#FFFFFF#000000##000000
##308D2E1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#1C8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d2e;
/* rgb */ color: rgb(48, 141, 46);
/* oklch */ color: oklch(56.8% 0.158 142.8);
Tailwind
colors: {
  custom: {
    50: '#75af6b',
    500: '#308d2e',
    950: '#000000',
  },
}
SCSS
$custom: #308d2e;
$custom-light: #75af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#308d2e",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 118.737,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56819,
    "c": 0.15822,
    "h": 142.8
  },
  "luminance": 0.19875
}

Semantic roles & 50–950 ramp

primary
#308D2E
secondary
#B362B5
accent
#4EDAD7
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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