#308B2C#308B2C

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

Color values

HEX#308B2C
RGBrgb(48, 139, 44)
HSLhsl(117, 52%, 36%)
HSVhsv(117, 68%, 55%)
CMYKcmyk(65.5%, 0%, 68.3%, 45.5%)
CIE-LABlab(51.01, -45.86, 41.47)
CIE-LCHlch(51.01, 61.83, 137.88°)
OKLaboklab(56.24% -0.1248 0.0956)
OKLCHoklch(56.24% 0.157 142.5)
XYZxyz(10.9056, 19.2744, 5.5280)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B2C #872C8B
analogous
#5F8B2C #308B2C #2C8B57
triadic
#308B2C #2C308B #8B2C30
tetradic
#308B2C #2C5F8B #872C8B #8B572C
square
#308B2C #2C5F8B #872C8B #8B572C
split-complementary
#308B2C #572C8B #8B2C5F
monochromatic
#102E0F #205D1D #308B2C #40B93B #68CE64

Accessibility & contrast

On white

4.33
#308B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##308B2C#FFFFFF#000000##000000
##308B2C1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #308b2c;
/* rgb */ color: rgb(48, 139, 44);
/* oklch */ color: oklch(56.2% 0.157 142.5);
Tailwind
colors: {
  custom: {
    50: '#74ae6a',
    500: '#308b2c',
    950: '#000000',
  },
}
SCSS
$custom: #308b2c;
$custom-light: #74ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#308b2c",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 117.474,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.15718,
    "h": 142.5
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

primary
#308B2C
secondary
#B15FB4
accent
#4CDBD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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