#306237#306237

#306237 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.9% C 0.088 H 147.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#306237
RGBrgb(48, 98, 55)
HSLhsl(128, 34%, 29%)
HSVhsv(128, 51%, 38%)
CMYKcmyk(51%, 0%, 43.9%, 61.6%)
CIE-LABlab(37.19, -27.16, 19.40)
CIE-LCHlch(37.19, 33.38, 144.46°)
OKLaboklab(44.92% -0.0738 0.048)
OKLCHoklch(44.92% 0.088 147)
XYZxyz(6.2758, 9.6391, 5.1435)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306237 #62305B
analogous
#426230 #306237 #306250
triadic
#306237 #373062 #623730
tetradic
#306237 #304262 #62305B #625030
square
#306237 #304262 #62305B #625030
split-complementary
#306237 #503062 #623042
monochromatic
#0A150C #1C3920 #306237 #448B4E #5DB068

Accessibility & contrast

On white

7.17
#306237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#306237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306237
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306237#FFFFFF#000000##FFFFFF
##3062371.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A34
Deuteranopia (green-blind)
#5C563A
Tritanopia (blue-blind)
#286057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306237;
/* rgb */ color: rgb(48, 98, 55);
/* oklch */ color: oklch(44.9% 0.088 147.0);
Tailwind
colors: {
  custom: {
    50: '#6c8f6e',
    500: '#306237',
    950: '#000000',
  },
}
SCSS
$custom: #306237;
$custom-light: #6c8f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#306237",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 55
  },
  "hsl": {
    "h": 128.4,
    "s": 34.247,
    "l": 28.627
  },
  "oklch": {
    "l": 0.44916,
    "c": 0.08798,
    "h": 147
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#306237
secondary
#935A8B
accent
#5DBBCA
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #306237

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

Preview Lab → · Contrast checker → · Palette generator →

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