#238940#238940

#238940 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.142 H 148.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#238940
RGBrgb(35, 137, 64)
HSLhsl(137, 59%, 34%)
HSVhsv(137, 74%, 54%)
CMYKcmyk(74.5%, 0%, 53.3%, 46.3%)
CIE-LABlab(50.24, -45.11, 30.83)
CIE-LCHlch(50.24, 54.64, 145.65°)
OKLaboklab(55.59% -0.1214 0.0744)
OKLCHoklch(55.59% 0.142 148.5)
XYZxyz(10.5634, 18.6176, 7.8863)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238940 #89236C
analogous
#398923 #238940 #238973
triadic
#238940 #402389 #894023
tetradic
#238940 #233989 #89236C #897323
square
#238940 #233989 #89236C #897323
split-complementary
#238940 #732389 #892339
monochromatic
#0A2812 #175829 #238940 #2FBA57 #53D378

Accessibility & contrast

On white

4.45
#238940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#238940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238940
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238940#FFFFFF#000000##000000
##2389401.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3A
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238940;
/* rgb */ color: rgb(35, 137, 64);
/* oklch */ color: oklch(55.6% 0.142 148.5);
Tailwind
colors: {
  custom: {
    50: '#6eac76',
    500: '#238940',
    950: '#000000',
  },
}
SCSS
$custom: #238940;
$custom-light: #6eac76;
$custom-dark: #000000;
JSON
{
  "hex": "#238940",
  "rgb": {
    "r": 35,
    "g": 137,
    "b": 64
  },
  "hsl": {
    "h": 137.059,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.14237,
    "h": 148.5
  },
  "luminance": 0.18619
}

Semantic roles & 50–950 ramp

primary
#238940
secondary
#B7519A
accent
#45B6E2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #238940

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

Preview Lab → · Contrast checker → · Palette generator →

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