#042D23#042D23

#042D23 is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.6% C 0.048 H 172.4°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#042D23
RGBrgb(4, 45, 35)
HSLhsl(165, 84%, 10%)
HSVhsv(165, 91%, 18%)
CMYKcmyk(91.1%, 0%, 22.2%, 82.4%)
CIE-LABlab(15.61, -16.94, 2.52)
CIE-LCHlch(15.61, 17.12, 171.55°)
OKLaboklab(26.65% -0.0476 0.0064)
OKLCHoklch(26.65% 0.048 172.4)
XYZxyz(1.2917, 2.0238, 1.9123)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042D23 #2D040E
analogous
#042D0F #042D23 #04232D
triadic
#042D23 #23042D #2D2304
tetradic
#042D23 #0F042D #2D040E #232D04
square
#042D23 #0F042D #2D040E #232D04
split-complementary
#042D23 #2D0423 #2D0F04
monochromatic
#021C16 #021C16 #042D23 #09654F #0E9D7A

Accessibility & contrast

On white

14.95
#042D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#042D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042D23
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042D23#FFFFFF#000000##FFFFFF
##042D231.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2923
Deuteranopia (green-blind)
#262524
Tritanopia (blue-blind)
#002E2A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042d23;
/* rgb */ color: rgb(4, 45, 35);
/* oklch */ color: oklch(26.6% 0.048 172.4);
Tailwind
colors: {
  custom: {
    50: '#4c665d',
    500: '#042d23',
    950: '#000000',
  },
}
SCSS
$custom: #042d23;
$custom-light: #4c665d;
$custom-dark: #000000;
JSON
{
  "hex": "#042d23",
  "rgb": {
    "r": 4,
    "g": 45,
    "b": 35
  },
  "hsl": {
    "h": 165.366,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26649,
    "c": 0.04801,
    "h": 172.4
  },
  "luminance": 0.02024
}

Semantic roles & 50–950 ramp

primary
#042D23
secondary
#701D31
accent
#2E60FA
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010604
muted
#777A79

Preview Lab

Preview with #042D23

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

Preview Lab → · Contrast checker → · Palette generator →

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