#308237#308237

#308237 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.136 H 144.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#308237
RGBrgb(48, 130, 55)
HSLhsl(125, 46%, 35%)
HSVhsv(125, 63%, 51%)
CMYKcmyk(63.1%, 0%, 57.7%, 49%)
CIE-LABlab(48.09, -41.09, 32.95)
CIE-LCHlch(48.09, 52.67, 141.27°)
OKLaboklab(53.87% -0.1113 0.0784)
OKLCHoklch(53.87% 0.136 144.8)
XYZxyz(9.8905, 16.8685, 6.3484)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308237 #82307B
analogous
#528230 #308237 #308260
triadic
#308237 #373082 #823730
tetradic
#308237 #305282 #82307B #826030
square
#308237 #305282 #82307B #826030
split-complementary
#308237 #603082 #823052
monochromatic
#0F2911 #1F5524 #308237 #41AF4A #66C66E

Accessibility & contrast

On white

4.80
#308237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#308237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308237
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308237#FFFFFF#000000##FFFFFF
##3082371.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847630
Deuteranopia (green-blind)
#7A6F3D
Tritanopia (blue-blind)
#1E7F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308237;
/* rgb */ color: rgb(48, 130, 55);
/* oklch */ color: oklch(53.9% 0.136 144.8);
Tailwind
colors: {
  custom: {
    50: '#72a770',
    500: '#308237',
    950: '#000000',
  },
}
SCSS
$custom: #308237;
$custom-light: #72a770;
$custom-dark: #000000;
JSON
{
  "hex": "#308237",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 125.122,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.13616,
    "h": 144.8
  },
  "luminance": 0.16869
}

Semantic roles & 50–950 ramp

primary
#308237
secondary
#AE60A7
accent
#52CAD6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #308237

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

Preview Lab → · Contrast checker → · Palette generator →

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