#237F27#237F27

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

Color values

HEX#237F27
RGBrgb(35, 127, 39)
HSLhsl(123, 57%, 32%)
HSVhsv(123, 72%, 50%)
CMYKcmyk(72.4%, 0%, 69.3%, 50.2%)
CIE-LABlab(46.55, -44.74, 38.75)
CIE-LCHlch(46.55, 59.19, 139.10°)
OKLaboklab(52.45% -0.1213 0.0894)
OKLCHoklch(52.45% 0.151 143.6)
XYZxyz(8.6482, 15.6816, 4.4901)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F27 #7F237B
analogous
#4D7F23 #237F27 #237F55
triadic
#237F27 #27237F #7F2723
tetradic
#237F27 #234D7F #7F237B #7F5523
square
#237F27 #234D7F #7F237B #7F5523
split-complementary
#237F27 #55237F #7F234D
monochromatic
#091F0A #164F18 #237F27 #30AF36 #4ECE54

Accessibility & contrast

On white

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

On black

4.14
#237F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##237F27#FFFFFF#000000##FFFFFF
##237F271.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731B
Deuteranopia (green-blind)
#776B2F
Tritanopia (blue-blind)
#047B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f27;
/* rgb */ color: rgb(35, 127, 39);
/* oklch */ color: oklch(52.4% 0.151 143.6);
Tailwind
colors: {
  custom: {
    50: '#6da566',
    500: '#237f27',
    950: '#000000',
  },
}
SCSS
$custom: #237f27;
$custom-light: #6da566;
$custom-dark: #000000;
JSON
{
  "hex": "#237f27",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 122.609,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52448,
    "c": 0.15063,
    "h": 143.6
  },
  "luminance": 0.15683
}

Semantic roles & 50–950 ramp

primary
#237F27
secondary
#B14CAD
accent
#48D9E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #237F27

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

Preview Lab → · Contrast checker → · Palette generator →

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