#237D27#237D27

#237D27 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.148 H 143.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#237D27
RGBrgb(35, 125, 39)
HSLhsl(123, 56%, 31%)
HSVhsv(123, 72%, 49%)
CMYKcmyk(72%, 0%, 68.8%, 51%)
CIE-LABlab(45.87, -44.02, 38.01)
CIE-LCHlch(45.87, 58.16, 139.19°)
OKLaboklab(51.88% -0.1193 0.0878)
OKLCHoklch(51.88% 0.148 143.7)
XYZxyz(8.3924, 15.1701, 4.4049)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D27 #7D2379
analogous
#4C7D23 #237D27 #237D54
triadic
#237D27 #27237D #7D2723
tetradic
#237D27 #234C7D #7D2379 #7D5423
square
#237D27 #234C7D #7D2379 #7D5423
split-complementary
#237D27 #54237D #7D234C
monochromatic
#081D09 #164D18 #237D27 #30AD36 #4DCD53

Accessibility & contrast

On white

5.21
#237D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#237D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237D27
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D27#FFFFFF#000000##FFFFFF
##237D271.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711C
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#06796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237d27;
/* rgb */ color: rgb(35, 125, 39);
/* oklch */ color: oklch(51.9% 0.148 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ca465',
    500: '#237d27',
    950: '#000000',
  },
}
SCSS
$custom: #237d27;
$custom-light: #6ca465;
$custom-dark: #000000;
JSON
{
  "hex": "#237d27",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 122.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.14811,
    "h": 143.7
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#237D27
secondary
#AF4CAB
accent
#48D9E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #237D27

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

Preview Lab → · Contrast checker → · Palette generator →

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