#237F22#237F22

#237F22 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.154 H 142.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#237F22
RGBrgb(35, 127, 34)
HSLhsl(119, 58%, 32%)
HSVhsv(119, 73%, 50%)
CMYKcmyk(72.4%, 0%, 73.2%, 50.2%)
CIE-LABlab(46.51, -45.24, 40.84)
CIE-LCHlch(46.51, 60.95, 137.92°)
OKLaboklab(52.4% -0.1229 0.0931)
OKLCHoklch(52.4% 0.154 142.8)
XYZxyz(8.5707, 15.6506, 4.0823)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F22 #7E227F
analogous
#527F22 #237F22 #227F50
triadic
#237F22 #22237F #7F2223
tetradic
#237F22 #22527F #7E227F #7F5022
square
#237F22 #22527F #7E227F #7F5022
split-complementary
#237F22 #50227F #7F2252
monochromatic
#081E08 #164F15 #237F22 #30AF2F #4ECF4C

Accessibility & contrast

On white

5.08
#237F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#237F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F22
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F22#FFFFFF#000000##FFFFFF
##237F221.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#067B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f22;
/* rgb */ color: rgb(35, 127, 34);
/* oklch */ color: oklch(52.4% 0.154 142.8);
Tailwind
colors: {
  custom: {
    50: '#6da563',
    500: '#237f22',
    950: '#000000',
  },
}
SCSS
$custom: #237f22;
$custom-light: #6da563;
$custom-dark: #000000;
JSON
{
  "hex": "#237f22",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 119.355,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.524,
    "c": 0.15416,
    "h": 142.8
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#237F22
secondary
#B04BB2
accent
#47E1DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #237F22

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

Preview Lab → · Contrast checker → · Palette generator →

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