#236540#236540

#236540 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.4% C 0.090 H 155.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#236540
RGBrgb(35, 101, 64)
HSLhsl(146, 49%, 27%)
HSVhsv(146, 65%, 40%)
CMYKcmyk(65.3%, 0%, 36.6%, 60.4%)
CIE-LABlab(37.90, -30.30, 14.95)
CIE-LCHlch(37.90, 33.78, 153.74°)
OKLaboklab(45.42% -0.0822 0.0376)
OKLCHoklch(45.42% 0.09 155.4)
XYZxyz(6.2717, 10.0342, 6.4558)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#236540 #652348
analogous
#276523 #236540 #236561
triadic
#236540 #402365 #654023
tetradic
#236540 #232765 #652348 #656123
square
#236540 #232765 #652348 #656123
split-complementary
#236540 #612365 #652327
monochromatic
#08170E #133823 #236540 #33925D #44BE7A

Accessibility & contrast

On white

6.98
#236540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#236540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #236540
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##236540#FFFFFF#000000##FFFFFF
##2365401.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655D3E
Deuteranopia (green-blind)
#5C5742
Tritanopia (blue-blind)
#06645B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #236540;
/* rgb */ color: rgb(35, 101, 64);
/* oklch */ color: oklch(45.4% 0.090 155.4);
Tailwind
colors: {
  custom: {
    50: '#669175',
    500: '#236540',
    950: '#000000',
  },
}
SCSS
$custom: #236540;
$custom-light: #669175;
$custom-dark: #000000;
JSON
{
  "hex": "#236540",
  "rgb": {
    "r": 35,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 146.364,
    "s": 48.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45422,
    "c": 0.09043,
    "h": 155.4
  },
  "luminance": 0.10035
}

Semantic roles & 50–950 ramp

primary
#236540
secondary
#994B77
accent
#509CD8
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #236540

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

Preview Lab → · Contrast checker → · Palette generator →

#236540 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva