#308B2A#308B2A

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

Color values

HEX#308B2A
RGBrgb(48, 139, 42)
HSLhsl(116, 54%, 35%)
HSVhsv(116, 70%, 55%)
CMYKcmyk(65.5%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.99, -46.06, 42.32)
CIE-LCHlch(50.99, 62.55, 137.43°)
OKLaboklab(56.23% -0.1254 0.0971)
OKLCHoklch(56.23% 0.159 142.2)
XYZxyz(10.8689, 19.2597, 5.3348)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B2A #852A8B
analogous
#608B2A #308B2A #2A8B55
triadic
#308B2A #2A308B #8B2A30
tetradic
#308B2A #2A608B #852A8B #8B552A
square
#308B2A #2A608B #852A8B #8B552A
split-complementary
#308B2A #552A8B #8B2A60
monochromatic
#102D0E #205C1C #308B2A #40BA38 #67CF60

Accessibility & contrast

On white

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

On black

4.85
#308B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B2A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B2A#FFFFFF#000000##000000
##308B2A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#837733
Tritanopia (blue-blind)
#1E8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b2a;
/* rgb */ color: rgb(48, 139, 42);
/* oklch */ color: oklch(56.2% 0.159 142.2);
Tailwind
colors: {
  custom: {
    50: '#74ae69',
    500: '#308b2a',
    950: '#000000',
  },
}
SCSS
$custom: #308b2a;
$custom-light: #74ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#308b2a",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 116.289,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.15863,
    "h": 142.2
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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