#304331#304331

#304331 is a dark, muted green. Relative luminance 0.049; OKLCH L 36.1% C 0.039 H 146.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#304331
RGBrgb(48, 67, 49)
HSLhsl(123, 17%, 23%)
HSVhsv(123, 28%, 26%)
CMYKcmyk(28.4%, 0%, 26.9%, 73.7%)
CIE-LABlab(26.34, -11.85, 8.55)
CIE-LCHlch(26.34, 14.61, 144.18°)
OKLaboklab(36.08% -0.0324 0.0218)
OKLCHoklch(36.08% 0.039 146)
XYZxyz(3.7803, 4.8643, 3.6449)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304331 #433042
analogous
#384330 #304331 #30433A
triadic
#304331 #313043 #433130
tetradic
#304331 #303843 #433042 #433A30
square
#304331 #303843 #433042 #433A30
split-complementary
#304331 #3A3043 #433038
monochromatic
#0D120D #161F17 #304331 #4A674B #638A65

Accessibility & contrast

On white

10.64
#304331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#304331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304331
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304331#FFFFFF#000000##FFFFFF
##3043311.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444030
Deuteranopia (green-blind)
#413E32
Tritanopia (blue-blind)
#2E423E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #304331;
/* rgb */ color: rgb(48, 67, 49);
/* oklch */ color: oklch(36.1% 0.039 146.0);
Tailwind
colors: {
  custom: {
    50: '#687769',
    500: '#304331',
    950: '#000000',
  },
}
SCSS
$custom: #304331;
$custom-light: #687769;
$custom-dark: #000000;
JSON
{
  "hex": "#304331",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 49
  },
  "hsl": {
    "h": 123.158,
    "s": 16.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.36081,
    "c": 0.03907,
    "h": 146
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#304331
secondary
#735B72
accent
#6FB5B9
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060806
muted
#7A7B7A

Preview Lab

Preview with #304331

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

Preview Lab → · Contrast checker → · Palette generator →

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