#236226#236226

#236226 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.1% C 0.113 H 144.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#236226
RGBrgb(35, 98, 38)
HSLhsl(123, 47%, 26%)
HSVhsv(123, 64%, 38%)
CMYKcmyk(64.3%, 0%, 61.2%, 61.6%)
CIE-LABlab(36.43, -33.64, 27.85)
CIE-LCHlch(36.43, 43.67, 140.38°)
OKLaboklab(44.07% -0.0912 0.066)
OKLCHoklch(44.07% 0.113 144.1)
XYZxyz(5.4104, 9.2321, 3.3302)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#236226 #62235F
analogous
#3F6223 #236226 #236245
triadic
#236226 #262362 #622623
tetradic
#236226 #233F62 #62235F #624523
square
#236226 #233F62 #62235F #624523
split-complementary
#236226 #452362 #62233F
monochromatic
#081709 #133515 #236226 #338F37 #43BC49

Accessibility & contrast

On white

7.38
#236226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#236226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #236226
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##236226#FFFFFF#000000##FFFFFF
##2362261.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645920
Deuteranopia (green-blind)
#5C542B
Tritanopia (blue-blind)
#165F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #236226;
/* rgb */ color: rgb(35, 98, 38);
/* oklch */ color: oklch(44.1% 0.113 144.1);
Tailwind
colors: {
  custom: {
    50: '#668f62',
    500: '#236226',
    950: '#000000',
  },
}
SCSS
$custom: #236226;
$custom-light: #668f62;
$custom-dark: #000000;
JSON
{
  "hex": "#236226",
  "rgb": {
    "r": 35,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 122.857,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.11259,
    "h": 144.1
  },
  "luminance": 0.09233
}

Semantic roles & 50–950 ramp

primary
#236226
secondary
#964B92
accent
#51D1D7
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #236226

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

Preview Lab → · Contrast checker → · Palette generator →

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