#23540F#23540F

#23540F is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.111 H 138.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#23540F
RGBrgb(35, 84, 15)
HSLhsl(103, 70%, 19%)
HSVhsv(103, 82%, 33%)
CMYKcmyk(58.3%, 0%, 82.1%, 67.1%)
CIE-LABlab(31.19, -30.22, 32.96)
CIE-LCHlch(31.19, 44.72, 132.52°)
OKLaboklab(39.68% -0.0834 0.0739)
OKLCHoklch(39.68% 0.111 138.5)
XYZxyz(3.9495, 6.7321, 1.5432)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23540F #400F54
analogous
#46540F #23540F #0F541E
triadic
#23540F #0F2354 #540F23
tetradic
#23540F #0F4654 #400F54 #541E0F
square
#23540F #0F4654 #400F54 #541E0F
split-complementary
#23540F #1E0F54 #540F46
monochromatic
#0B1A05 #0D2006 #23540F #398818 #4EBC22

Accessibility & contrast

On white

8.95
#23540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#23540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23540F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23540F#FFFFFF#000000##FFFFFF
##23540F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C02
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#1F5147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #23540f;
/* rgb */ color: rgb(35, 84, 15);
/* oklch */ color: oklch(39.7% 0.111 138.5);
Tailwind
colors: {
  custom: {
    50: '#648553',
    500: '#23540f',
    950: '#000000',
  },
}
SCSS
$custom: #23540f;
$custom-light: #648553;
$custom-dark: #000000;
JSON
{
  "hex": "#23540f",
  "rgb": {
    "r": 35,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 102.609,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39679,
    "c": 0.11142,
    "h": 138.5
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#23540F
secondary
#73318E
accent
#3BEDB9
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #23540F

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

Preview Lab → · Contrast checker → · Palette generator →

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