#237A22#237A22

#237A22 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.148 H 142.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#237A22
RGBrgb(35, 122, 34)
HSLhsl(119, 56%, 31%)
HSVhsv(119, 72%, 48%)
CMYKcmyk(71.3%, 0%, 72.1%, 52.2%)
CIE-LABlab(44.79, -43.44, 39.04)
CIE-LCHlch(44.79, 58.40, 138.05°)
OKLaboklab(50.97% -0.118 0.0893)
OKLCHoklch(50.97% 0.148 142.9)
XYZxyz(7.9409, 14.3910, 3.8723)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A22 #79227A
analogous
#4F7A22 #237A22 #227A4D
triadic
#237A22 #22237A #7A2223
tetradic
#237A22 #224F7A #79227A #7A4D22
square
#237A22 #224F7A #79227A #7A4D22
split-complementary
#237A22 #4D227A #7A224F
monochromatic
#081A07 #154A15 #237A22 #31AA2F #4BCD4A

Accessibility & contrast

On white

5.41
#237A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#237A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A22
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A22#FFFFFF#000000##FFFFFF
##237A221.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E15
Deuteranopia (green-blind)
#73672B
Tritanopia (blue-blind)
#0B7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237a22;
/* rgb */ color: rgb(35, 122, 34);
/* oklch */ color: oklch(51.0% 0.148 142.9);
Tailwind
colors: {
  custom: {
    50: '#6ca162',
    500: '#237a22',
    950: '#000000',
  },
}
SCSS
$custom: #237a22;
$custom-light: #6ca162;
$custom-dark: #000000;
JSON
{
  "hex": "#237a22",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 119.318,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50971,
    "c": 0.14799,
    "h": 142.9
  },
  "luminance": 0.14392
}

Semantic roles & 50–950 ramp

primary
#237A22
secondary
#AC4BAD
accent
#48E0DE
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #237A22

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

Preview Lab → · Contrast checker → · Palette generator →

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