#306342#306342

#306342 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.4% C 0.078 H 153.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#306342
RGBrgb(48, 99, 66)
HSLhsl(141, 35%, 29%)
HSVhsv(141, 52%, 39%)
CMYKcmyk(51.5%, 0%, 33.3%, 61.2%)
CIE-LABlab(37.74, -25.48, 13.62)
CIE-LCHlch(37.74, 28.89, 151.88°)
OKLaboklab(45.44% -0.0695 0.0344)
OKLCHoklch(45.44% 0.078 153.7)
XYZxyz(6.6637, 9.9449, 6.7216)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306342 #633051
analogous
#386330 #306342 #30635C
triadic
#306342 #423063 #634230
tetradic
#306342 #303863 #633051 #635C30
square
#306342 #303863 #633051 #635C30
split-complementary
#306342 #5C3063 #633038
monochromatic
#0A150E #1C3A27 #306342 #448C5D #5DB07A

Accessibility & contrast

On white

7.03
#306342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#306342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306342
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306342#FFFFFF#000000##FFFFFF
##3063421.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635C40
Deuteranopia (green-blind)
#5C5744
Tritanopia (blue-blind)
#24625A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #306342;
/* rgb */ color: rgb(48, 99, 66);
/* oklch */ color: oklch(45.4% 0.078 153.7);
Tailwind
colors: {
  custom: {
    50: '#6c9076',
    500: '#306342',
    950: '#000000',
  },
}
SCSS
$custom: #306342;
$custom-light: #6c9076;
$custom-dark: #000000;
JSON
{
  "hex": "#306342",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 66
  },
  "hsl": {
    "h": 141.176,
    "s": 34.694,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4544,
    "c": 0.07757,
    "h": 153.7
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#306342
secondary
#945A80
accent
#5DA4CB
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #306342

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

Preview Lab → · Contrast checker → · Palette generator →

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