#308336#308336

#308336 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.138 H 144.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#308336
RGBrgb(48, 131, 54)
HSLhsl(124, 46%, 35%)
HSVhsv(124, 63%, 51%)
CMYKcmyk(63.4%, 0%, 58.8%, 48.6%)
CIE-LABlab(48.42, -41.62, 33.84)
CIE-LCHlch(48.42, 53.64, 140.88°)
OKLaboklab(54.14% -0.1128 0.0803)
OKLCHoklch(54.14% 0.138 144.6)
XYZxyz(10.0005, 17.1264, 6.2680)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308336 #83307D
analogous
#548330 #308336 #30835F
triadic
#308336 #363083 #833630
tetradic
#308336 #305483 #83307D #835F30
square
#308336 #305483 #83307D #835F30
split-complementary
#308336 #5F3083 #833054
monochromatic
#0F2911 #205624 #308336 #40B048 #66C76D

Accessibility & contrast

On white

4.75
#308336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#308336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308336
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308336#FFFFFF#000000##FFFFFF
##3083361.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772E
Deuteranopia (green-blind)
#7B703C
Tritanopia (blue-blind)
#1E8072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308336;
/* rgb */ color: rgb(48, 131, 54);
/* oklch */ color: oklch(54.1% 0.138 144.6);
Tailwind
colors: {
  custom: {
    50: '#72a86f',
    500: '#308336',
    950: '#000000',
  },
}
SCSS
$custom: #308336;
$custom-light: #72a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#308336",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 124.337,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54139,
    "c": 0.13844,
    "h": 144.6
  },
  "luminance": 0.17127
}

Semantic roles & 50–950 ramp

primary
#308336
secondary
#AE61A9
accent
#52CCD6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308336

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

Preview Lab → · Contrast checker → · Palette generator →

#308336 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva