#306339#306339

#306339 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.2% C 0.087 H 147.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#306339
RGBrgb(48, 99, 57)
HSLhsl(131, 35%, 29%)
HSVhsv(131, 52%, 39%)
CMYKcmyk(51.5%, 0%, 42.4%, 61.2%)
CIE-LABlab(37.57, -27.27, 18.73)
CIE-LCHlch(37.57, 33.09, 145.52°)
OKLaboklab(45.24% -0.0741 0.0464)
OKLCHoklch(45.24% 0.087 147.9)
XYZxyz(6.4189, 9.8470, 5.4325)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306339 #63305A
analogous
#416330 #306339 #306353
triadic
#306339 #393063 #633930
tetradic
#306339 #304163 #63305A #635330
square
#306339 #304163 #63305A #635330
split-complementary
#306339 #533063 #633041
monochromatic
#0A150C #1C3A21 #306339 #448C51 #5DB06C

Accessibility & contrast

On white

7.07
#306339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#306339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306339
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306339#FFFFFF#000000##FFFFFF
##3063391.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B36
Deuteranopia (green-blind)
#5D563C
Tritanopia (blue-blind)
#276159
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #306339;
/* rgb */ color: rgb(48, 99, 57);
/* oklch */ color: oklch(45.2% 0.087 147.9);
Tailwind
colors: {
  custom: {
    50: '#6c9070',
    500: '#306339',
    950: '#000000',
  },
}
SCSS
$custom: #306339;
$custom-light: #6c9070;
$custom-dark: #000000;
JSON
{
  "hex": "#306339",
  "rgb": {
    "r": 48,
    "g": 99,
    "b": 57
  },
  "hsl": {
    "h": 130.588,
    "s": 34.694,
    "l": 28.824
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.08742,
    "h": 147.9
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#306339
secondary
#945A8A
accent
#5DB7CB
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A

Preview Lab

Preview with #306339

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

Preview Lab → · Contrast checker → · Palette generator →

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