#042E21#042E21

#042E21 is a dark, muted teal. Relative luminance 0.021; OKLCH L 26.9% C 0.051 H 167.4°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#042E21
RGBrgb(4, 46, 33)
HSLhsl(161, 84%, 10%)
HSVhsv(161, 91%, 18%)
CMYKcmyk(91.3%, 0%, 28.3%, 82%)
CIE-LABlab(15.95, -18.10, 4.39)
CIE-LCHlch(15.95, 18.62, 166.36°)
OKLaboklab(26.91% -0.05 0.0112)
OKLCHoklch(26.91% 0.051 167.4)
XYZxyz(1.3014, 2.0894, 1.7733)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E21 #2E0411
analogous
#042E0C #042E21 #04262E
triadic
#042E21 #21042E #2E2104
tetradic
#042E21 #0C042E #2E0411 #262E04
square
#042E21 #0C042E #2E0411 #262E04
split-complementary
#042E21 #2E0426 #2E0C04
monochromatic
#021C14 #021C14 #042E21 #096649 #0E9F72

Accessibility & contrast

On white

14.81
#042E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#042E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042E21
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E21#FFFFFF#000000##FFFFFF
##042E211.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A20
Deuteranopia (green-blind)
#272622
Tritanopia (blue-blind)
#002E2A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042e21;
/* rgb */ color: rgb(4, 46, 33);
/* oklch */ color: oklch(26.9% 0.051 167.4);
Tailwind
colors: {
  custom: {
    50: '#4c675c',
    500: '#042e21',
    950: '#000000',
  },
}
SCSS
$custom: #042e21;
$custom-light: #4c675c;
$custom-dark: #000000;
JSON
{
  "hex": "#042e21",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 33
  },
  "hsl": {
    "h": 161.429,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26906,
    "c": 0.05129,
    "h": 167.4
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#042E21
secondary
#711D37
accent
#2E6DFA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010604
muted
#777A79

Preview Lab

Preview with #042E21

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

Preview Lab → · Contrast checker → · Palette generator →

#042E21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva