#303C2A#303C2A

#303C2A is a dark, muted green. Relative luminance 0.040; OKLCH L 34.0% C 0.034 H 135.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#303C2A
RGBrgb(48, 60, 42)
HSLhsl(100, 18%, 20%)
HSVhsv(100, 30%, 24%)
CMYKcmyk(20%, 0%, 30%, 76.5%)
CIE-LABlab(23.76, -9.05, 9.55)
CIE-LCHlch(23.76, 13.16, 133.48°)
OKLaboklab(33.95% -0.0245 0.0242)
OKLCHoklch(33.95% 0.034 135.4)
XYZxyz(3.2526, 4.0272, 2.7960)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C2A #362A3C
analogous
#393C2A #303C2A #2A3C2D
triadic
#303C2A #2A303C #3C2A30
tetradic
#303C2A #2A393C #362A3C #3C2D2A
square
#303C2A #2A393C #362A3C #3C2D2A
split-complementary
#303C2A #2D2A3C #3C2A39
monochromatic
#0E120D #131811 #303C2A #4D6043 #6A845C

Accessibility & contrast

On white

11.63
#303C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#303C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303C2A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C2A#FFFFFF#000000##FFFFFF
##303C2A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3929
Deuteranopia (green-blind)
#3C382B
Tritanopia (blue-blind)
#303B37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #303c2a;
/* rgb */ color: rgb(48, 60, 42);
/* oklch */ color: oklch(34.0% 0.034 135.4);
Tailwind
colors: {
  custom: {
    50: '#687163',
    500: '#303c2a',
    950: '#000000',
  },
}
SCSS
$custom: #303c2a;
$custom-light: #687163;
$custom-dark: #000000;
JSON
{
  "hex": "#303c2a",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 42
  },
  "hsl": {
    "h": 100,
    "s": 17.647,
    "l": 20
  },
  "oklch": {
    "l": 0.33954,
    "c": 0.03447,
    "h": 135.4
  },
  "luminance": 0.04027
}

Semantic roles & 50–950 ramp

primary
#303C2A
secondary
#65556D
accent
#6DBAA1
background
#F6F6F5
surface
#EBECEA
border
#C6C7C6
text
#060705
muted
#7A7A79

Preview Lab

Preview with #303C2A

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

Preview Lab → · Contrast checker → · Palette generator →

#303C2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva