#042E23#042E23

#042E23 is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.0% C 0.049 H 170.9°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#042E23
RGBrgb(4, 46, 35)
HSLhsl(164, 84%, 10%)
HSVhsv(164, 91%, 18%)
CMYKcmyk(91.3%, 0%, 23.9%, 82%)
CIE-LABlab(16.01, -17.47, 3.08)
CIE-LCHlch(16.01, 17.74, 169.99°)
OKLaboklab(26.97% -0.0488 0.0079)
OKLCHoklch(26.97% 0.049 170.9)
XYZxyz(1.3303, 2.1010, 1.9252)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E23 #2E040F
analogous
#042E0E #042E23 #04242E
triadic
#042E23 #23042E #2E2304
tetradic
#042E23 #0E042E #2E040F #242E04
square
#042E23 #0E042E #2E040F #242E04
split-complementary
#042E23 #2E0424 #2E0E04
monochromatic
#021C15 #021C15 #042E23 #09664E #0E9F79

Accessibility & contrast

On white

14.79
#042E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042E23
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E23#FFFFFF#000000##FFFFFF
##042E231.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2A22
Deuteranopia (green-blind)
#272624
Tritanopia (blue-blind)
#002E2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042e23;
/* rgb */ color: rgb(4, 46, 35);
/* oklch */ color: oklch(27.0% 0.049 170.9);
Tailwind
colors: {
  custom: {
    50: '#4c675d',
    500: '#042e23',
    950: '#000000',
  },
}
SCSS
$custom: #042e23;
$custom-light: #4c675d;
$custom-dark: #000000;
JSON
{
  "hex": "#042e23",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 35
  },
  "hsl": {
    "h": 164.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26974,
    "c": 0.04947,
    "h": 170.9
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#042E23
secondary
#711D33
accent
#2E63FA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010604
muted
#777A79

Preview Lab

Preview with #042E23

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

Preview Lab → · Contrast checker → · Palette generator →

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