#237F3F#237F3F

#237F3F is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.130 H 149.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#237F3F
RGBrgb(35, 127, 63)
HSLhsl(138, 57%, 32%)
HSVhsv(138, 72%, 50%)
CMYKcmyk(72.4%, 0%, 50.4%, 50.2%)
CIE-LABlab(46.84, -41.44, 27.14)
CIE-LCHlch(46.84, 49.54, 146.78°)
OKLaboklab(52.77% -0.1116 0.0661)
OKLCHoklch(52.77% 0.13 149.4)
XYZxyz(9.1790, 15.8939, 7.2858)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F3F #7F2363
analogous
#357F23 #237F3F #237F6D
triadic
#237F3F #3F237F #7F3F23
tetradic
#237F3F #23357F #7F2363 #7F6D23
square
#237F3F #23357F #7F2363 #7F6D23
split-complementary
#237F3F #6D237F #7F2335
monochromatic
#091F0F #164F27 #237F3F #30AF57 #4ECE75

Accessibility & contrast

On white

5.03
#237F3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#237F3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F3F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F3F#FFFFFF#000000##FFFFFF
##237F3F1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743A
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #237f3f;
/* rgb */ color: rgb(35, 127, 63);
/* oklch */ color: oklch(52.8% 0.130 149.4);
Tailwind
colors: {
  custom: {
    50: '#6ba575',
    500: '#237f3f',
    950: '#000000',
  },
}
SCSS
$custom: #237f3f;
$custom-light: #6ba575;
$custom-dark: #000000;
JSON
{
  "hex": "#237f3f",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 63
  },
  "hsl": {
    "h": 138.261,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52771,
    "c": 0.12967,
    "h": 149.4
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#237F3F
secondary
#B14C93
accent
#48B2E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #237F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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