#304438#304438

#304438 is a dark, muted green. Relative luminance 0.050; OKLCH L 36.6% C 0.033 H 158.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#304438
RGBrgb(48, 68, 56)
HSLhsl(144, 17%, 23%)
HSVhsv(144, 29%, 27%)
CMYKcmyk(29.4%, 0%, 17.6%, 73.3%)
CIE-LABlab(26.87, -10.88, 4.75)
CIE-LCHlch(26.87, 11.87, 156.43°)
OKLaboklab(36.56% -0.0303 0.0123)
OKLCHoklch(36.56% 0.033 158)
XYZxyz(3.9996, 5.0480, 4.5042)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304438 #44303C
analogous
#324430 #304438 #304442
triadic
#304438 #383044 #443830
tetradic
#304438 #303244 #44303C #444230
square
#304438 #303244 #44303C #444230
split-complementary
#304438 #423044 #443032
monochromatic
#0D120F #17201A #304438 #496856 #638C73

Accessibility & contrast

On white

10.45
#304438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#304438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304438
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304438#FFFFFF#000000##FFFFFF
##3044381.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444137
Deuteranopia (green-blind)
#403F39
Tritanopia (blue-blind)
#2C4441
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #304438;
/* rgb */ color: rgb(48, 68, 56);
/* oklch */ color: oklch(36.6% 0.033 158.0);
Tailwind
colors: {
  custom: {
    50: '#69786e',
    500: '#304438',
    950: '#000000',
  },
}
SCSS
$custom: #304438;
$custom-light: #69786e;
$custom-dark: #000000;
JSON
{
  "hex": "#304438",
  "rgb": {
    "r": 48,
    "g": 68,
    "b": 56
  },
  "hsl": {
    "h": 144,
    "s": 17.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.36564,
    "c": 0.0327,
    "h": 158
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#304438
secondary
#745B6A
accent
#6E9CBA
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060807
muted
#7A7B7A

Preview Lab

Preview with #304438

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

Preview Lab → · Contrast checker → · Palette generator →

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