#238D27#238D27

#238D27 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.168 H 143.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#238D27
RGBrgb(35, 141, 39)
HSLhsl(122, 60%, 35%)
HSVhsv(122, 75%, 55%)
CMYKcmyk(75.2%, 0%, 72.3%, 44.7%)
CIE-LABlab(51.33, -49.66, 43.82)
CIE-LCHlch(51.33, 66.23, 138.57°)
OKLaboklab(56.41% -0.1346 0.1)
OKLCHoklch(56.41% 0.168 143.4)
XYZxyz(10.5836, 19.5524, 5.1353)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D27 #8D2389
analogous
#548D23 #238D27 #238D5C
triadic
#238D27 #27238D #8D2723
tetradic
#238D27 #23548D #8D2389 #8D5C23
square
#238D27 #23548D #8D2389 #8D5C23
split-complementary
#238D27 #5C238D #8D2354
monochromatic
#0B2B0C #175C19 #238D27 #2FBE35 #55D55A

Accessibility & contrast

On white

4.28
#238D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#238D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D27
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D27#FFFFFF#000000##000000
##238D271.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F17
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d27;
/* rgb */ color: rgb(35, 141, 39);
/* oklch */ color: oklch(56.4% 0.168 143.4);
Tailwind
colors: {
  custom: {
    50: '#70af67',
    500: '#238d27',
    950: '#000000',
  },
}
SCSS
$custom: #238d27;
$custom-light: #70af67;
$custom-dark: #000000;
JSON
{
  "hex": "#238d27",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 122.264,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.16768,
    "h": 143.4
  },
  "luminance": 0.19554
}

Semantic roles & 50–950 ramp

primary
#238D27
secondary
#B953B5
accent
#44DDE3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238D27

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

Preview Lab → · Contrast checker → · Palette generator →

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