#308A2A#308A2A

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

Color values

HEX#308A2A
RGBrgb(48, 138, 42)
HSLhsl(116, 53%, 35%)
HSVhsv(116, 70%, 54%)
CMYKcmyk(65.2%, 0%, 69.6%, 45.9%)
CIE-LABlab(50.65, -45.69, 41.96)
CIE-LCHlch(50.65, 62.03, 137.44°)
OKLaboklab(55.95% -0.1244 0.0964)
OKLCHoklch(55.95% 0.157 142.2)
XYZxyz(10.7247, 18.9714, 5.2867)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A2A #842A8A
analogous
#608A2A #308A2A #2A8A54
triadic
#308A2A #2A308A #8A2A30
tetradic
#308A2A #2A608A #842A8A #8A542A
square
#308A2A #2A608A #842A8A #8A542A
split-complementary
#308A2A #542A8A #8A2A60
monochromatic
#0F2C0D #205B1C #308A2A #40B938 #67CF60

Accessibility & contrast

On white

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

On black

4.79
#308A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A2A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A2A#FFFFFF#000000##000000
##308A2A1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1D
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#1F8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308a2a;
/* rgb */ color: rgb(48, 138, 42);
/* oklch */ color: oklch(55.9% 0.157 142.2);
Tailwind
colors: {
  custom: {
    50: '#74ad69',
    500: '#308a2a',
    950: '#000000',
  },
}
SCSS
$custom: #308a2a;
$custom-light: #74ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#308a2a",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 116.25,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55947,
    "c": 0.15738,
    "h": 142.2
  },
  "luminance": 0.18973
}

Semantic roles & 50–950 ramp

primary
#308A2A
secondary
#AF5BB4
accent
#4BDDD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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