#237939#237939

#237939 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.127 H 148.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#237939
RGBrgb(35, 121, 57)
HSLhsl(135, 55%, 31%)
HSVhsv(135, 71%, 47%)
CMYKcmyk(71.1%, 0%, 52.9%, 52.5%)
CIE-LABlab(44.70, -40.08, 27.71)
CIE-LCHlch(44.70, 48.73, 145.34°)
OKLaboklab(50.98% -0.108 0.067)
OKLCHoklch(50.98% 0.127 148.2)
XYZxyz(8.2684, 14.3266, 6.1997)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237939 #792363
analogous
#387923 #237939 #237964
triadic
#237939 #392379 #793923
tetradic
#237939 #233879 #792363 #796423
square
#237939 #233879 #792363 #796423
split-complementary
#237939 #642379 #792338
monochromatic
#081A0C #154A23 #237939 #31A84F #4BCB6C

Accessibility & contrast

On white

5.43
#237939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#237939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237939
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237939#FFFFFF#000000##FFFFFF
##2379391.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E34
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237939;
/* rgb */ color: rgb(35, 121, 57);
/* oklch */ color: oklch(51.0% 0.127 148.2);
Tailwind
colors: {
  custom: {
    50: '#6aa071',
    500: '#237939',
    950: '#000000',
  },
}
SCSS
$custom: #237939;
$custom-light: #6aa071;
$custom-dark: #000000;
JSON
{
  "hex": "#237939",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 135.349,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50977,
    "c": 0.12711,
    "h": 148.2
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#237939
secondary
#AC4C93
accent
#49B8DE
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #237939

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

Preview Lab → · Contrast checker → · Palette generator →

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