#238142#238142

#238142 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.130 H 150.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#238142
RGBrgb(35, 129, 66)
HSLhsl(140, 57%, 32%)
HSVhsv(140, 73%, 51%)
CMYKcmyk(72.9%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.56, -41.71, 26.43)
CIE-LCHlch(47.56, 49.38, 147.64°)
OKLaboklab(53.38% -0.1123 0.0646)
OKLCHoklch(53.38% 0.13 150.1)
XYZxyz(9.5260, 16.4501, 7.8264)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238142 #812362
analogous
#338123 #238142 #238171
triadic
#238142 #422381 #814223
tetradic
#238142 #233381 #812362 #817123
square
#238142 #233381 #812362 #817123
split-complementary
#238142 #712381 #812333
monochromatic
#092111 #165129 #238142 #30B15B #4FCF79

Accessibility & contrast

On white

4.89
#238142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#238142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238142
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238142#FFFFFF#000000##FFFFFF
##2381421.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#766E46
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #238142;
/* rgb */ color: rgb(35, 129, 66);
/* oklch */ color: oklch(53.4% 0.130 150.1);
Tailwind
colors: {
  custom: {
    50: '#6ca677',
    500: '#238142',
    950: '#000000',
  },
}
SCSS
$custom: #238142;
$custom-light: #6ca677;
$custom-dark: #000000;
JSON
{
  "hex": "#238142",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 139.787,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53384,
    "c": 0.12953,
    "h": 150.1
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#238142
secondary
#B34D91
accent
#47AEE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #238142

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

Preview Lab → · Contrast checker → · Palette generator →

#238142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva