#238F27#238F27

#238F27 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.170 H 143.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#238F27
RGBrgb(35, 143, 39)
HSLhsl(122, 61%, 35%)
HSVhsv(122, 76%, 56%)
CMYKcmyk(75.5%, 0%, 72.7%, 43.9%)
CIE-LABlab(52.00, -50.34, 44.53)
CIE-LCHlch(52.00, 67.20, 138.51°)
OKLaboklab(56.97% -0.1364 0.1015)
OKLCHoklch(56.97% 0.17 143.4)
XYZxyz(10.8811, 20.1475, 5.2345)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F27 #8F238B
analogous
#558F23 #238F27 #238F5D
triadic
#238F27 #27238F #8F2723
tetradic
#238F27 #23558F #8F238B #8F5D23
square
#238F27 #23558F #8F238B #8F5D23
split-complementary
#238F27 #5D238F #8F2355
monochromatic
#0B2D0C #175E1A #238F27 #2FC034 #57D65B

Accessibility & contrast

On white

4.18
#238F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#238F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F27
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F27#FFFFFF#000000##000000
##238F271.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f27;
/* rgb */ color: rgb(35, 143, 39);
/* oklch */ color: oklch(57.0% 0.170 143.4);
Tailwind
colors: {
  custom: {
    50: '#70b167',
    500: '#238f27',
    950: '#000000',
  },
}
SCSS
$custom: #238f27;
$custom-light: #70b167;
$custom-dark: #000000;
JSON
{
  "hex": "#238f27",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 122.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56969,
    "c": 0.17004,
    "h": 143.4
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238F27

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

Preview Lab → · Contrast checker → · Palette generator →

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