#308A2B#308A2B

#308A2B is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.157 H 142.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#308A2B
RGBrgb(48, 138, 43)
HSLhsl(117, 52%, 35%)
HSVhsv(117, 69%, 54%)
CMYKcmyk(65.2%, 0%, 68.8%, 45.9%)
CIE-LABlab(50.66, -45.59, 41.54)
CIE-LCHlch(50.66, 61.67, 137.66°)
OKLaboklab(55.96% -0.1241 0.0956)
OKLCHoklch(55.96% 0.157 142.4)
XYZxyz(10.7429, 18.9787, 5.3821)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A2B #852B8A
analogous
#5F8A2B #308A2B #2B8A55
triadic
#308A2B #2B308A #8A2B30
tetradic
#308A2B #2B5F8A #852B8A #8A552B
square
#308A2B #2B5F8A #852B8A #8A552B
split-complementary
#308A2B #552B8A #8A2B5F
monochromatic
#102D0E #205B1C #308A2B #40B93A #67CE61

Accessibility & contrast

On white

4.38
#308A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#308A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A2B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A2B#FFFFFF#000000##000000
##308A2B1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1E
Deuteranopia (green-blind)
#827634
Tritanopia (blue-blind)
#1E8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308a2b;
/* rgb */ color: rgb(48, 138, 43);
/* oklch */ color: oklch(56.0% 0.157 142.4);
Tailwind
colors: {
  custom: {
    50: '#74ad69',
    500: '#308a2b',
    950: '#000000',
  },
}
SCSS
$custom: #308a2b;
$custom-light: #74ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#308a2b",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 116.842,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55957,
    "c": 0.15665,
    "h": 142.4
  },
  "luminance": 0.1898
}

Semantic roles & 50–950 ramp

primary
#308A2B
secondary
#AF5DB4
accent
#4CDCD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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