#23541F#23541F

#23541F is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.9% C 0.099 H 142.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#23541F
RGBrgb(35, 84, 31)
HSLhsl(115, 46%, 23%)
HSVhsv(115, 63%, 33%)
CMYKcmyk(58.3%, 0%, 63.1%, 67.1%)
CIE-LABlab(31.34, -28.54, 25.61)
CIE-LCHlch(31.34, 38.35, 138.10°)
OKLaboklab(39.85% -0.0778 0.0605)
OKLCHoklch(39.85% 0.099 142.2)
XYZxyz(4.1106, 6.7966, 2.3913)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23541F #501F54
analogous
#3D541F #23541F #1F5436
triadic
#23541F #1F2354 #541F23
tetradic
#23541F #1F3D54 #501F54 #54361F
square
#23541F #1F3D54 #501F54 #54361F
split-complementary
#23541F #361F54 #541F3D
monochromatic
#091608 #10270F #23541F #36812F #48AD40

Accessibility & contrast

On white

8.90
#23541F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#23541F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23541F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23541F#FFFFFF#000000##FFFFFF
##23541F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C1A
Deuteranopia (green-blind)
#504823
Tritanopia (blue-blind)
#1C5148
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #23541f;
/* rgb */ color: rgb(35, 84, 31);
/* oklch */ color: oklch(39.9% 0.099 142.2);
Tailwind
colors: {
  custom: {
    50: '#63855c',
    500: '#23541f',
    950: '#000000',
  },
}
SCSS
$custom: #23541f;
$custom-light: #63855c;
$custom-dark: #000000;
JSON
{
  "hex": "#23541f",
  "rgb": {
    "r": 35,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 115.472,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3985,
    "c": 0.09852,
    "h": 142.2
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#23541F
secondary
#844689
accent
#52D6CC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #23541F

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

Preview Lab → · Contrast checker → · Palette generator →

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