#238642#238642

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

Color values

HEX#238642
RGBrgb(35, 134, 66)
HSLhsl(139, 59%, 33%)
HSVhsv(139, 74%, 53%)
CMYKcmyk(73.9%, 0%, 50.7%, 47.5%)
CIE-LABlab(49.25, -43.65, 28.56)
CIE-LCHlch(49.25, 52.16, 146.80°)
OKLaboklab(54.78% -0.1174 0.0694)
OKLCHoklch(54.78% 0.136 149.4)
XYZxyz(10.2008, 17.7997, 8.0513)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238642 #862367
analogous
#358623 #238642 #238673
triadic
#238642 #422386 #864223
tetradic
#238642 #233586 #862367 #867323
square
#238642 #233586 #862367 #867323
split-complementary
#238642 #732386 #862335
monochromatic
#0A2512 #16552A #238642 #30B75A #52D27A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238642#FFFFFF#000000##FFFFFF
##2386421.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)
#877A3C
Deuteranopia (green-blind)
#7B7247
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #238642;
/* rgb */ color: rgb(35, 134, 66);
/* oklch */ color: oklch(54.8% 0.136 149.4);
Tailwind
colors: {
  custom: {
    50: '#6daa78',
    500: '#238642',
    950: '#000000',
  },
}
SCSS
$custom: #238642;
$custom-light: #6daa78;
$custom-dark: #000000;
JSON
{
  "hex": "#238642",
  "rgb": {
    "r": 35,
    "g": 134,
    "b": 66
  },
  "hsl": {
    "h": 138.788,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54783,
    "c": 0.13642,
    "h": 149.4
  },
  "luminance": 0.17801
}

Semantic roles & 50–950 ramp

primary
#238642
secondary
#B54F95
accent
#46B1E2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238642

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

Preview Lab → · Contrast checker → · Palette generator →

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