#23402C#23402C

#23402C is a dark, muted green. Relative luminance 0.042; OKLCH L 34.2% C 0.050 H 153.0°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#23402C
RGBrgb(35, 64, 44)
HSLhsl(139, 29%, 19%)
HSVhsv(139, 45%, 25%)
CMYKcmyk(45.3%, 0%, 31.2%, 74.9%)
CIE-LABlab(24.34, -16.20, 8.90)
CIE-LCHlch(24.34, 18.48, 151.22°)
OKLaboklab(34.21% -0.0444 0.0226)
OKLCHoklch(34.21% 0.05 153)
XYZxyz(2.9810, 4.2058, 3.0371)
Luminance0.0421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23402C #402337
analogous
#294023 #23402C #23403B
triadic
#23402C #2C2340 #402C23
tetradic
#23402C #232940 #402337 #403B23
square
#23402C #232940 #402337 #403B23
split-complementary
#23402C #3B2340 #402329
monochromatic
#0B140E #0D1811 #23402C #396847 #4E8F62

Accessibility & contrast

On white

11.41
#23402C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#23402C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23402C
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23402C#FFFFFF#000000##FFFFFF
##23402C1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2B
Deuteranopia (green-blind)
#3C392D
Tritanopia (blue-blind)
#1E3F3B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23402c;
/* rgb */ color: rgb(35, 64, 44);
/* oklch */ color: oklch(34.2% 0.050 153.0);
Tailwind
colors: {
  custom: {
    50: '#5f7565',
    500: '#23402c',
    950: '#000000',
  },
}
SCSS
$custom: #23402c;
$custom-light: #5f7565;
$custom-dark: #000000;
JSON
{
  "hex": "#23402c",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 138.621,
    "s": 29.293,
    "l": 19.412
  },
  "oklch": {
    "l": 0.34205,
    "c": 0.04981,
    "h": 153
  },
  "luminance": 0.04206
}

Semantic roles & 50–950 ramp

primary
#23402C
secondary
#734C67
accent
#62A7C6
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#050805
muted
#797B7A

Preview Lab

Preview with #23402C

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

Preview Lab → · Contrast checker → · Palette generator →

#23402C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva