#237B22#237B22

#237B22 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.149 H 142.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#237B22
RGBrgb(35, 123, 34)
HSLhsl(119, 57%, 31%)
HSVhsv(119, 72%, 48%)
CMYKcmyk(71.5%, 0%, 72.4%, 51.8%)
CIE-LABlab(45.13, -43.80, 39.40)
CIE-LCHlch(45.13, 58.91, 138.03°)
OKLaboklab(51.26% -0.119 0.0901)
OKLCHoklch(51.26% 0.149 142.9)
XYZxyz(8.0643, 14.6379, 3.9135)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B22 #7A227B
analogous
#4F7B22 #237B22 #227B4D
triadic
#237B22 #22237B #7B2223
tetradic
#237B22 #224F7B #7A227B #7B4D22
square
#237B22 #224F7B #7A227B #7B4D22
split-complementary
#237B22 #4D227B #7B224F
monochromatic
#081B07 #154B15 #237B22 #31AB2F #4CCD4A

Accessibility & contrast

On white

5.35
#237B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#237B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B22
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B22#FFFFFF#000000##FFFFFF
##237B221.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F14
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#0A7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237b22;
/* rgb */ color: rgb(35, 123, 34);
/* oklch */ color: oklch(51.3% 0.149 142.9);
Tailwind
colors: {
  custom: {
    50: '#6ca262',
    500: '#237b22',
    950: '#000000',
  },
}
SCSS
$custom: #237b22;
$custom-light: #6ca262;
$custom-dark: #000000;
JSON
{
  "hex": "#237b22",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 119.326,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51257,
    "c": 0.14923,
    "h": 142.9
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#237B22
secondary
#AD4BAE
accent
#48E0DE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #237B22

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

Preview Lab → · Contrast checker → · Palette generator →

#237B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva