#305239#305239

#305239 is a dark, muted green. Relative luminance 0.070; OKLCH L 40.5% C 0.058 H 151.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#305239
RGBrgb(48, 82, 57)
HSLhsl(136, 26%, 25%)
HSVhsv(136, 41%, 32%)
CMYKcmyk(41.5%, 0%, 30.5%, 67.8%)
CIE-LABlab(31.71, -18.63, 10.88)
CIE-LCHlch(31.71, 21.57, 149.72°)
OKLaboklab(40.47% -0.051 0.0276)
OKLCHoklch(40.47% 0.058 151.6)
XYZxyz(4.9744, 6.9581, 4.9510)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305239 #523049
analogous
#385230 #305239 #30524A
triadic
#305239 #393052 #523930
tetradic
#305239 #303852 #523049 #524A30
square
#305239 #303852 #523049 #524A30
split-complementary
#305239 #4A3052 #523038
monochromatic
#0B130D #192B1E #305239 #477954 #5D9F6F

Accessibility & contrast

On white

8.78
#305239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#305239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305239
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305239#FFFFFF#000000##FFFFFF
##3052391.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524D37
Deuteranopia (green-blind)
#4D493A
Tritanopia (blue-blind)
#2A514B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #305239;
/* rgb */ color: rgb(48, 82, 57);
/* oklch */ color: oklch(40.5% 0.058 151.6);
Tailwind
colors: {
  custom: {
    50: '#6a836f',
    500: '#305239',
    950: '#000000',
  },
}
SCSS
$custom: #305239;
$custom-light: #6a836f;
$custom-dark: #000000;
JSON
{
  "hex": "#305239",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 57
  },
  "hsl": {
    "h": 135.882,
    "s": 26.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.40473,
    "c": 0.05798,
    "h": 151.6
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#305239
secondary
#835B78
accent
#65AAC3
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#060A07
muted
#7A7C7A

Preview Lab

Preview with #305239

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

Preview Lab → · Contrast checker → · Palette generator →

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