#238641#238641

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

Color values

HEX#238641
RGBrgb(35, 134, 65)
HSLhsl(138, 59%, 33%)
HSVhsv(138, 74%, 53%)
CMYKcmyk(73.9%, 0%, 51.5%, 47.5%)
CIE-LABlab(49.24, -43.81, 29.07)
CIE-LCHlch(49.24, 52.58, 146.43°)
OKLaboklab(54.77% -0.1179 0.0705)
OKLCHoklch(54.77% 0.137 149.1)
XYZxyz(10.1716, 17.7880, 7.8974)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238641 #862368
analogous
#368623 #238641 #238672
triadic
#238641 #412386 #864123
tetradic
#238641 #233686 #862368 #867223
square
#238641 #233686 #862368 #867223
split-complementary
#238641 #722386 #862336
monochromatic
#0A2512 #165529 #238641 #30B759 #52D278

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238641#FFFFFF#000000##FFFFFF
##2386411.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)
#877A3B
Deuteranopia (green-blind)
#7B7246
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #238641;
/* rgb */ color: rgb(35, 134, 65);
/* oklch */ color: oklch(54.8% 0.137 149.1);
Tailwind
colors: {
  custom: {
    50: '#6daa77',
    500: '#238641',
    950: '#000000',
  },
}
SCSS
$custom: #238641;
$custom-light: #6daa77;
$custom-dark: #000000;
JSON
{
  "hex": "#238641",
  "rgb": {
    "r": 35,
    "g": 134,
    "b": 65
  },
  "hsl": {
    "h": 138.182,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.13738,
    "h": 149.1
  },
  "luminance": 0.17789
}

Semantic roles & 50–950 ramp

primary
#238641
secondary
#B54F97
accent
#46B3E2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238641

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

Preview Lab → · Contrast checker → · Palette generator →

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