#236642#236642

#236642 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.090 H 156.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#236642
RGBrgb(35, 102, 66)
HSLhsl(148, 49%, 27%)
HSVhsv(148, 66%, 40%)
CMYKcmyk(65.7%, 0%, 35.3%, 60%)
CIE-LABlab(38.29, -30.31, 14.28)
CIE-LCHlch(38.29, 33.51, 154.77°)
OKLaboklab(45.75% -0.0824 0.036)
OKLCHoklch(45.75% 0.09 156.4)
XYZxyz(6.4273, 10.2528, 6.7935)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#236642 #662347
analogous
#266623 #236642 #236664
triadic
#236642 #422366 #664223
tetradic
#236642 #232666 #662347 #666423
square
#236642 #232666 #662347 #666423
split-complementary
#236642 #642366 #662326
monochromatic
#08170F #133825 #236642 #33945F #44BF7D

Accessibility & contrast

On white

6.88
#236642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#236642 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #236642
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##236642#FFFFFF#000000##FFFFFF
##2366421.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655E40
Deuteranopia (green-blind)
#5C5844
Tritanopia (blue-blind)
#04655D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #236642;
/* rgb */ color: rgb(35, 102, 66);
/* oklch */ color: oklch(45.8% 0.090 156.4);
Tailwind
colors: {
  custom: {
    50: '#669276',
    500: '#236642',
    950: '#000000',
  },
}
SCSS
$custom: #236642;
$custom-light: #669276;
$custom-dark: #000000;
JSON
{
  "hex": "#236642",
  "rgb": {
    "r": 35,
    "g": 102,
    "b": 66
  },
  "hsl": {
    "h": 147.761,
    "s": 48.905,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45754,
    "c": 0.08991,
    "h": 156.4
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#236642
secondary
#9A4B75
accent
#4F99D8
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #236642

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

Preview Lab → · Contrast checker → · Palette generator →

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