#238C27#238C27

#238C27 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.166 H 143.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#238C27
RGBrgb(35, 140, 39)
HSLhsl(122, 60%, 34%)
HSVhsv(122, 75%, 55%)
CMYKcmyk(75%, 0%, 72.1%, 45.1%)
CIE-LABlab(50.99, -49.31, 43.47)
CIE-LCHlch(50.99, 65.74, 138.60°)
OKLaboklab(56.13% -0.1337 0.0993)
OKLCHoklch(56.13% 0.166 143.4)
XYZxyz(10.4368, 19.2588, 5.0863)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C27 #8C2388
analogous
#548C23 #238C27 #238C5C
triadic
#238C27 #27238C #8C2723
tetradic
#238C27 #23548C #8C2388 #8C5C23
square
#238C27 #23548C #8C2388 #8C5C23
split-complementary
#238C27 #5C238C #8C2354
monochromatic
#0B2A0C #175B19 #238C27 #2FBD35 #55D45A

Accessibility & contrast

On white

4.33
#238C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#238C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C27
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C27#FFFFFF#000000##000000
##238C271.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E17
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238c27;
/* rgb */ color: rgb(35, 140, 39);
/* oklch */ color: oklch(56.1% 0.166 143.4);
Tailwind
colors: {
  custom: {
    50: '#70af67',
    500: '#238c27',
    950: '#000000',
  },
}
SCSS
$custom: #238c27;
$custom-light: #70af67;
$custom-dark: #000000;
JSON
{
  "hex": "#238c27",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 122.286,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56126,
    "c": 0.16649,
    "h": 143.4
  },
  "luminance": 0.1926
}

Semantic roles & 50–950 ramp

primary
#238C27
secondary
#B852B5
accent
#45DDE3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238C27

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

Preview Lab → · Contrast checker → · Palette generator →

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