#23402A#23402A

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

Color values

HEX#23402A
RGBrgb(35, 64, 42)
HSLhsl(134, 29%, 19%)
HSVhsv(134, 45%, 25%)
CMYKcmyk(45.3%, 0%, 34.4%, 74.9%)
CIE-LABlab(24.29, -16.65, 10.13)
CIE-LCHlch(24.29, 19.49, 148.68°)
OKLaboklab(34.15% -0.0455 0.0256)
OKLCHoklch(34.15% 0.052 150.6)
XYZxyz(2.9443, 4.1911, 2.8439)
Luminance0.0419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23402A #402339
analogous
#2B4023 #23402A #234039
triadic
#23402A #2A2340 #402A23
tetradic
#23402A #232B40 #402339 #403923
square
#23402A #232B40 #402339 #403923
split-complementary
#23402A #392340 #40232B
monochromatic
#0B140D #0D1810 #23402A #396844 #4E8F5E

Accessibility & contrast

On white

11.42
#23402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23402A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23402A#FFFFFF#000000##FFFFFF
##23402A1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C29
Deuteranopia (green-blind)
#3C392B
Tritanopia (blue-blind)
#1E3F3A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23402a;
/* rgb */ color: rgb(35, 64, 42);
/* oklch */ color: oklch(34.2% 0.052 150.6);
Tailwind
colors: {
  custom: {
    50: '#5f7563',
    500: '#23402a',
    950: '#000000',
  },
}
SCSS
$custom: #23402a;
$custom-light: #5f7563;
$custom-dark: #000000;
JSON
{
  "hex": "#23402a",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 134.483,
    "s": 29.293,
    "l": 19.412
  },
  "oklch": {
    "l": 0.34151,
    "c": 0.05219,
    "h": 150.6
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#23402A
secondary
#734C6A
accent
#62AEC6
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#050805
muted
#797B79

Preview Lab

Preview with #23402A

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

Preview Lab → · Contrast checker → · Palette generator →

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