#237F4F#237F4F

#237F4F is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.1% C 0.114 H 155.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#237F4F
RGBrgb(35, 127, 79)
HSLhsl(149, 57%, 32%)
HSVhsv(149, 72%, 50%)
CMYKcmyk(72.4%, 0%, 37.8%, 50.2%)
CIE-LABlab(47.10, -38.40, 18.59)
CIE-LCHlch(47.10, 42.66, 154.17°)
OKLaboklab(53.08% -0.1039 0.0466)
OKLCHoklch(53.08% 0.114 155.8)
XYZxyz(9.6929, 16.0995, 9.9923)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F4F #7F2353
analogous
#257F23 #237F4F #237F7D
triadic
#237F4F #4F237F #7F4F23
tetradic
#237F4F #23257F #7F2353 #7F7D23
square
#237F4F #23257F #7F2353 #7F7D23
split-complementary
#237F4F #7D237F #7F2325
monochromatic
#091F13 #164F31 #237F4F #30AF6D #4ECE8B

Accessibility & contrast

On white

4.98
#237F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#237F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F4F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F4F#FFFFFF#000000##FFFFFF
##237F4F1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E754C
Deuteranopia (green-blind)
#736C52
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #237f4f;
/* rgb */ color: rgb(35, 127, 79);
/* oklch */ color: oklch(53.1% 0.114 155.8);
Tailwind
colors: {
  custom: {
    50: '#6ba580',
    500: '#237f4f',
    950: '#000000',
  },
}
SCSS
$custom: #237f4f;
$custom-light: #6ba580;
$custom-dark: #000000;
JSON
{
  "hex": "#237f4f",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 79
  },
  "hsl": {
    "h": 148.696,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.11387,
    "h": 155.8
  },
  "luminance": 0.16101
}

Semantic roles & 50–950 ramp

primary
#237F4F
secondary
#B14C81
accent
#4897E0
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #237F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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