#238640#238640

#238640 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.138 H 148.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#238640
RGBrgb(35, 134, 64)
HSLhsl(138, 59%, 33%)
HSVhsv(138, 74%, 53%)
CMYKcmyk(73.9%, 0%, 52.2%, 47.5%)
CIE-LABlab(49.22, -43.98, 29.58)
CIE-LCHlch(49.22, 53.00, 146.07°)
OKLaboklab(54.75% -0.1183 0.0716)
OKLCHoklch(54.75% 0.138 148.8)
XYZxyz(10.1429, 17.7765, 7.7462)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238640 #862369
analogous
#378623 #238640 #238671
triadic
#238640 #402386 #864023
tetradic
#238640 #233786 #862369 #867123
square
#238640 #233786 #862369 #867123
split-complementary
#238640 #712386 #862337
monochromatic
#0A2512 #165529 #238640 #30B757 #52D277

Accessibility & contrast

On white

4.61
#238640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#238640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #238640
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238640#FFFFFF#000000##FFFFFF
##2386401.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A3A
Deuteranopia (green-blind)
#7B7245
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #238640;
/* rgb */ color: rgb(35, 134, 64);
/* oklch */ color: oklch(54.8% 0.138 148.8);
Tailwind
colors: {
  custom: {
    50: '#6daa76',
    500: '#238640',
    950: '#000000',
  },
}
SCSS
$custom: #238640;
$custom-light: #6daa76;
$custom-dark: #000000;
JSON
{
  "hex": "#238640",
  "rgb": {
    "r": 35,
    "g": 134,
    "b": 64
  },
  "hsl": {
    "h": 137.576,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5475,
    "c": 0.13833,
    "h": 148.8
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#238640
secondary
#B54F98
accent
#46B4E2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #238640

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

Preview Lab → · Contrast checker → · Palette generator →

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