#238840#238840

#238840 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.141 H 148.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#238840
RGBrgb(35, 136, 64)
HSLhsl(137, 59%, 34%)
HSVhsv(137, 74%, 53%)
CMYKcmyk(74.3%, 0%, 52.9%, 46.7%)
CIE-LABlab(49.90, -44.73, 30.42)
CIE-LCHlch(49.90, 54.09, 145.78°)
OKLaboklab(55.31% -0.1204 0.0735)
OKLCHoklch(55.31% 0.141 148.6)
XYZxyz(10.4219, 18.3346, 7.8392)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238840 #88236B
analogous
#388823 #238840 #238872
triadic
#238840 #402388 #884023
tetradic
#238840 #233888 #88236B #887223
square
#238840 #233888 #88236B #887223
split-complementary
#238840 #722388 #882338
monochromatic
#0A2712 #165729 #238840 #30B957 #53D377

Accessibility & contrast

On white

4.50
#238840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#238840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238840
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238840#FFFFFF#000000##000000
##2388401.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3A
Deuteranopia (green-blind)
#7D7345
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #238840;
/* rgb */ color: rgb(35, 136, 64);
/* oklch */ color: oklch(55.3% 0.141 148.6);
Tailwind
colors: {
  custom: {
    50: '#6eac76',
    500: '#238840',
    950: '#000000',
  },
}
SCSS
$custom: #238840;
$custom-light: #6eac76;
$custom-dark: #000000;
JSON
{
  "hex": "#238840",
  "rgb": {
    "r": 35,
    "g": 136,
    "b": 64
  },
  "hsl": {
    "h": 137.228,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55309,
    "c": 0.14103,
    "h": 148.6
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#238840
secondary
#B75099
accent
#46B5E2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #238840

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

Preview Lab → · Contrast checker → · Palette generator →

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