#306142#306142

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

Color values

HEX#306142
RGBrgb(48, 97, 66)
HSLhsl(142, 34%, 28%)
HSVhsv(142, 51%, 38%)
CMYKcmyk(50.5%, 0%, 32%, 62%)
CIE-LABlab(37.06, -24.49, 12.69)
CIE-LCHlch(37.06, 27.58, 152.61°)
OKLaboklab(44.88% -0.0669 0.0321)
OKLCHoklch(44.88% 0.074 154.3)
XYZxyz(6.4765, 9.5706, 6.6592)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306142 #61304F
analogous
#366130 #306142 #30615A
triadic
#306142 #423061 #614230
tetradic
#306142 #303661 #61304F #615A30
square
#306142 #303661 #61304F #615A30
split-complementary
#306142 #5A3061 #613036
monochromatic
#0A140E #1C3826 #306142 #448A5E #5DAF7B

Accessibility & contrast

On white

7.21
#306142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#306142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306142
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306142#FFFFFF#000000##FFFFFF
##3061421.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A40
Deuteranopia (green-blind)
#5A5544
Tritanopia (blue-blind)
#256059
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306142;
/* rgb */ color: rgb(48, 97, 66);
/* oklch */ color: oklch(44.9% 0.074 154.3);
Tailwind
colors: {
  custom: {
    50: '#6c8e76',
    500: '#306142',
    950: '#000000',
  },
}
SCSS
$custom: #306142;
$custom-light: #6c8e76;
$custom-dark: #000000;
JSON
{
  "hex": "#306142",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 66
  },
  "hsl": {
    "h": 142.041,
    "s": 33.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.44884,
    "c": 0.07422,
    "h": 154.3
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#306142
secondary
#925A7E
accent
#5EA2CA
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #306142

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

Preview Lab → · Contrast checker → · Palette generator →

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