#308337#308337

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

Color values

HEX#308337
RGBrgb(48, 131, 55)
HSLhsl(125, 46%, 35%)
HSVhsv(125, 63%, 51%)
CMYKcmyk(63.4%, 0%, 58%, 48.6%)
CIE-LABlab(48.43, -41.49, 33.35)
CIE-LCHlch(48.43, 53.23, 141.20°)
OKLaboklab(54.15% -0.1124 0.0793)
OKLCHoklch(54.15% 0.138 144.8)
XYZxyz(10.0242, 17.1358, 6.3930)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308337 #83307C
analogous
#538330 #308337 #308360
triadic
#308337 #373083 #833730
tetradic
#308337 #305383 #83307C #836030
square
#308337 #305383 #83307C #836030
split-complementary
#308337 #603083 #833053
monochromatic
#0F2911 #205624 #308337 #40B04A #66C76E

Accessibility & contrast

On white

4.74
#308337 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #308337
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308337#FFFFFF#000000##FFFFFF
##3083371.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857730
Deuteranopia (green-blind)
#7B703D
Tritanopia (blue-blind)
#1E8072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308337;
/* rgb */ color: rgb(48, 131, 55);
/* oklch */ color: oklch(54.2% 0.138 144.8);
Tailwind
colors: {
  custom: {
    50: '#72a870',
    500: '#308337',
    950: '#000000',
  },
}
SCSS
$custom: #308337;
$custom-light: #72a870;
$custom-dark: #000000;
JSON
{
  "hex": "#308337",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 125.06,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54153,
    "c": 0.13754,
    "h": 144.8
  },
  "luminance": 0.17137
}

Semantic roles & 50–950 ramp

primary
#308337
secondary
#AE61A8
accent
#52CBD6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308337

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

Preview Lab → · Contrast checker → · Palette generator →

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