#238E27#238E27

#238E27 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.169 H 143.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#238E27
RGBrgb(35, 142, 39)
HSLhsl(122, 60%, 35%)
HSVhsv(122, 75%, 56%)
CMYKcmyk(75.4%, 0%, 72.5%, 44.3%)
CIE-LABlab(51.67, -50.00, 44.17)
CIE-LCHlch(51.67, 66.72, 138.54°)
OKLaboklab(56.69% -0.1355 0.1007)
OKLCHoklch(56.69% 0.169 143.4)
XYZxyz(10.7317, 19.8486, 5.1846)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E27 #8E238A
analogous
#558E23 #238E27 #238E5D
triadic
#238E27 #27238E #8E2723
tetradic
#238E27 #23558E #8E238A #8E5D23
square
#238E27 #23558E #8E238A #8E5D23
split-complementary
#238E27 #5D238E #8E2355
monochromatic
#0B2C0C #175D1A #238E27 #2FBF34 #56D55B

Accessibility & contrast

On white

4.23
#238E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#238E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E27
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E27#FFFFFF#000000##000000
##238E271.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918016
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e27;
/* rgb */ color: rgb(35, 142, 39);
/* oklch */ color: oklch(56.7% 0.169 143.4);
Tailwind
colors: {
  custom: {
    50: '#70b067',
    500: '#238e27',
    950: '#000000',
  },
}
SCSS
$custom: #238e27;
$custom-light: #70b067;
$custom-dark: #000000;
JSON
{
  "hex": "#238e27",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 122.243,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.16886,
    "h": 143.4
  },
  "luminance": 0.1985
}

Semantic roles & 50–950 ramp

primary
#238E27
secondary
#B953B6
accent
#44DEE4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238E27

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

Preview Lab → · Contrast checker → · Palette generator →

#238E27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva