#236227#236227

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

Color values

HEX#236227
RGBrgb(35, 98, 39)
HSLhsl(124, 47%, 26%)
HSVhsv(124, 64%, 38%)
CMYKcmyk(64.3%, 0%, 60.2%, 61.6%)
CIE-LABlab(36.44, -33.50, 27.33)
CIE-LCHlch(36.44, 43.24, 140.79°)
OKLaboklab(44.08% -0.0908 0.0649)
OKLCHoklch(44.08% 0.112 144.4)
XYZxyz(5.4267, 9.2387, 3.4163)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#236227 #62235E
analogous
#3E6223 #236227 #236246
triadic
#236227 #272362 #622723
tetradic
#236227 #233E62 #62235E #624623
square
#236227 #233E62 #62235E #624623
split-complementary
#236227 #462362 #62233E
monochromatic
#081709 #133515 #236227 #338F39 #43BC4B

Accessibility & contrast

On white

7.37
#236227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #236227
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##236227#FFFFFF#000000##FFFFFF
##2362271.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #236227;
/* rgb */ color: rgb(35, 98, 39);
/* oklch */ color: oklch(44.1% 0.112 144.4);
Tailwind
colors: {
  custom: {
    50: '#668f63',
    500: '#236227',
    950: '#000000',
  },
}
SCSS
$custom: #236227;
$custom-light: #668f63;
$custom-dark: #000000;
JSON
{
  "hex": "#236227",
  "rgb": {
    "r": 35,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 123.81,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44083,
    "c": 0.11164,
    "h": 144.4
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#236227
secondary
#964B91
accent
#51CED7
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #236227

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

Preview Lab → · Contrast checker → · Palette generator →

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