#238140#238140

#238140 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.131 H 149.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#238140
RGBrgb(35, 129, 64)
HSLhsl(139, 57%, 32%)
HSVhsv(139, 73%, 51%)
CMYKcmyk(72.9%, 0%, 50.4%, 49.4%)
CIE-LABlab(47.53, -42.05, 27.47)
CIE-LCHlch(47.53, 50.23, 146.84°)
OKLaboklab(53.35% -0.1132 0.0669)
OKLCHoklch(53.35% 0.131 149.4)
XYZxyz(9.4681, 16.4269, 7.5212)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238140 #812364
analogous
#358123 #238140 #23816F
triadic
#238140 #402381 #814023
tetradic
#238140 #233581 #812364 #816F23
square
#238140 #233581 #812364 #816F23
split-complementary
#238140 #6F2381 #812335
monochromatic
#092110 #165128 #238140 #30B158 #4FCF77

Accessibility & contrast

On white

4.90
#238140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #238140
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238140#FFFFFF#000000##FFFFFF
##2381401.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763B
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #238140;
/* rgb */ color: rgb(35, 129, 64);
/* oklch */ color: oklch(53.3% 0.131 149.4);
Tailwind
colors: {
  custom: {
    50: '#6ca676',
    500: '#238140',
    950: '#000000',
  },
}
SCSS
$custom: #238140;
$custom-light: #6ca676;
$custom-dark: #000000;
JSON
{
  "hex": "#238140",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 138.511,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.13147,
    "h": 149.4
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#238140
secondary
#B34D93
accent
#47B1E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #238140

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

Preview Lab → · Contrast checker → · Palette generator →

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