#04231E#04231E

#04231E is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.2% C 0.038 H 180.2°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#04231E
RGBrgb(4, 35, 30)
HSLhsl(170, 79%, 8%)
HSVhsv(170, 89%, 14%)
CMYKcmyk(88.6%, 0%, 14.3%, 86.3%)
CIE-LABlab(11.43, -13.01, 0.03)
CIE-LCHlch(11.43, 13.01, 179.88°)
OKLaboklab(23.17% -0.0377 -0.0001)
OKLCHoklch(23.17% 0.038 180.2)
XYZxyz(0.8853, 1.3215, 1.4365)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04231E #230409
analogous
#04230F #04231E #041823
triadic
#04231E #1E0423 #231E04
tetradic
#04231E #0F0423 #230409 #182304
square
#04231E #0F0423 #230409 #182304
split-complementary
#04231E #230418 #230F04
monochromatic
#031B18 #031B18 #04231E #0A5A4D #11917C

Accessibility & contrast

On white

16.61
#04231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#04231E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04231E
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04231E#FFFFFF#000000##FFFFFF
##04231E1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201E
Deuteranopia (green-blind)
#1D1D1E
Tritanopia (blue-blind)
#002421
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #04231e;
/* rgb */ color: rgb(4, 35, 30);
/* oklch */ color: oklch(23.2% 0.038 180.2);
Tailwind
colors: {
  custom: {
    50: '#495e59',
    500: '#04231e',
    950: '#000000',
  },
}
SCSS
$custom: #04231e;
$custom-light: #495e59;
$custom-dark: #000000;
JSON
{
  "hex": "#04231e",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 170.323,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.2317,
    "c": 0.03766,
    "h": 180.2
  },
  "luminance": 0.01322
}

Semantic roles & 50–950 ramp

primary
#04231E
secondary
#661D29
accent
#3251F6
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #04231E

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

Preview Lab → · Contrast checker → · Palette generator →

#04231E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva