#237226#237226

#237226 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.135 H 143.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#237226
RGBrgb(35, 114, 38)
HSLhsl(122, 53%, 29%)
HSVhsv(122, 69%, 45%)
CMYKcmyk(69.3%, 0%, 66.7%, 55.3%)
CIE-LABlab(42.05, -40.03, 34.27)
CIE-LCHlch(42.05, 52.69, 139.43°)
OKLaboklab(48.71% -0.1085 0.0797)
OKLCHoklch(48.71% 0.135 143.7)
XYZxyz(7.0599, 12.5312, 3.8800)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237226 #72236F
analogous
#487223 #237226 #23724E
triadic
#237226 #262372 #722623
tetradic
#237226 #234872 #72236F #724E23
square
#237226 #234872 #72236F #724E23
split-complementary
#237226 #4E2372 #722348
monochromatic
#071708 #154316 #237226 #31A136 #48C74D

Accessibility & contrast

On white

5.99
#237226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#237226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237226
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237226#FFFFFF#000000##FFFFFF
##2372261.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671D
Deuteranopia (green-blind)
#6B612D
Tritanopia (blue-blind)
#0F6F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #237226;
/* rgb */ color: rgb(35, 114, 38);
/* oklch */ color: oklch(48.7% 0.135 143.7);
Tailwind
colors: {
  custom: {
    50: '#699b64',
    500: '#237226',
    950: '#000000',
  },
}
SCSS
$custom: #237226;
$custom-light: #699b64;
$custom-dark: #000000;
JSON
{
  "hex": "#237226",
  "rgb": {
    "r": 35,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 122.278,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48713,
    "c": 0.13468,
    "h": 143.7
  },
  "luminance": 0.12532
}

Semantic roles & 50–950 ramp

primary
#237226
secondary
#A54CA2
accent
#4BD7DC
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #237226

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

Preview Lab → · Contrast checker → · Palette generator →

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