#334239#334239

#334239 is a dark, muted green. Relative luminance 0.049; OKLCH L 36.3% C 0.025 H 158.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#334239
RGBrgb(51, 66, 57)
HSLhsl(144, 13%, 23%)
HSVhsv(144, 23%, 26%)
CMYKcmyk(22.7%, 0%, 13.6%, 74.1%)
CIE-LABlab(26.43, -8.24, 3.50)
CIE-LCHlch(26.43, 8.96, 157.00°)
OKLaboklab(36.28% -0.0231 0.0091)
OKLCHoklch(36.28% 0.025 158.6)
XYZxyz(4.0518, 4.8955, 4.6016)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334239 #42333C
analogous
#344233 #334239 #334240
triadic
#334239 #393342 #423933
tetradic
#334239 #333442 #42333C #424033
square
#334239 #333442 #42333C #424033
split-complementary
#334239 #403342 #423334
monochromatic
#0D110F #181F1B #334239 #4E6557 #688775

Accessibility & contrast

On white

10.61
#334239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#334239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334239
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334239#FFFFFF#000000##FFFFFF
##3342391.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424039
Deuteranopia (green-blind)
#3F3E39
Tritanopia (blue-blind)
#30423F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #334239;
/* rgb */ color: rgb(51, 66, 57);
/* oklch */ color: oklch(36.3% 0.025 158.6);
Tailwind
colors: {
  custom: {
    50: '#6b766f',
    500: '#334239',
    950: '#000000',
  },
}
SCSS
$custom: #334239;
$custom-light: #6b766f;
$custom-dark: #000000;
JSON
{
  "hex": "#334239",
  "rgb": {
    "r": 51,
    "g": 66,
    "b": 57
  },
  "hsl": {
    "h": 144,
    "s": 12.821,
    "l": 22.941
  },
  "oklch": {
    "l": 0.36281,
    "c": 0.02481,
    "h": 158.6
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#334239
secondary
#725F6A
accent
#729BB6
background
#F6F7F6
surface
#EBEDEC
border
#C6C8C7
text
#060807
muted
#7A7B7A

Preview Lab

Preview with #334239

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

Preview Lab → · Contrast checker → · Palette generator →

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