#308B2D#308B2D

#308B2D is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.156 H 142.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#308B2D
RGBrgb(48, 139, 45)
HSLhsl(118, 51%, 36%)
HSVhsv(118, 68%, 55%)
CMYKcmyk(65.5%, 0%, 67.6%, 45.5%)
CIE-LABlab(51.02, -45.76, 41.04)
CIE-LCHlch(51.02, 61.47, 138.11°)
OKLaboklab(56.25% -0.1244 0.0948)
OKLCHoklch(56.25% 0.156 142.7)
XYZxyz(10.9246, 19.2820, 5.6282)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B2D #882D8B
analogous
#5F8B2D #308B2D #2D8B59
triadic
#308B2D #2D308B #8B2D30
tetradic
#308B2D #2D5F8B #882D8B #8B592D
square
#308B2D #2D5F8B #882D8B #8B592D
split-complementary
#308B2D #592D8B #8B2D5F
monochromatic
#102F0F #205D1E #308B2D #40B93C #69CD65

Accessibility & contrast

On white

4.32
#308B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#308B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B2D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B2D#FFFFFF#000000##000000
##308B2D1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E21
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#1D8778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b2d;
/* rgb */ color: rgb(48, 139, 45);
/* oklch */ color: oklch(56.3% 0.156 142.7);
Tailwind
colors: {
  custom: {
    50: '#74ae6a',
    500: '#308b2d',
    950: '#000000',
  },
}
SCSS
$custom: #308b2d;
$custom-light: #74ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#308b2d",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 118.085,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56254,
    "c": 0.15643,
    "h": 142.7
  },
  "luminance": 0.19283
}

Semantic roles & 50–950 ramp

primary
#308B2D
secondary
#B160B4
accent
#4DDBD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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