#23402F#23402F

#23402F is a dark, muted green. Relative luminance 0.042; OKLCH L 34.3% C 0.046 H 157.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#23402F
RGBrgb(35, 64, 47)
HSLhsl(145, 29%, 19%)
HSVhsv(145, 45%, 25%)
CMYKcmyk(45.3%, 0%, 26.6%, 74.9%)
CIE-LABlab(24.42, -15.50, 7.04)
CIE-LCHlch(24.42, 17.02, 155.56°)
OKLaboklab(34.29% -0.0427 0.018)
OKLCHoklch(34.29% 0.046 157.1)
XYZxyz(3.0394, 4.2292, 3.3449)
Luminance0.0423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23402F #402334
analogous
#264023 #23402F #23403E
triadic
#23402F #2F2340 #402F23
tetradic
#23402F #232640 #402334 #403E23
square
#23402F #232640 #402334 #403E23
split-complementary
#23402F #3E2340 #402326
monochromatic
#0B140F #0D1812 #23402F #39684C #4E8F69

Accessibility & contrast

On white

11.38
#23402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#23402F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23402F
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23402F#FFFFFF#000000##FFFFFF
##23402F1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2E
Deuteranopia (green-blind)
#3B3930
Tritanopia (blue-blind)
#1D403B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23402f;
/* rgb */ color: rgb(35, 64, 47);
/* oklch */ color: oklch(34.3% 0.046 157.1);
Tailwind
colors: {
  custom: {
    50: '#5f7567',
    500: '#23402f',
    950: '#000000',
  },
}
SCSS
$custom: #23402f;
$custom-light: #5f7567;
$custom-dark: #000000;
JSON
{
  "hex": "#23402f",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 144.828,
    "s": 29.293,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3429,
    "c": 0.04638,
    "h": 157.1
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#23402F
secondary
#734C63
accent
#629CC6
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#050806
muted
#797B7A

Preview Lab

Preview with #23402F

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

Preview Lab → · Contrast checker → · Palette generator →

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