#238742#238742

#238742 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.138 H 149.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#238742
RGBrgb(35, 135, 66)
HSLhsl(139, 59%, 33%)
HSVhsv(139, 74%, 53%)
CMYKcmyk(74.1%, 0%, 51.1%, 47.1%)
CIE-LABlab(49.59, -44.03, 28.98)
CIE-LCHlch(49.59, 52.71, 146.65°)
OKLaboklab(55.06% -0.1185 0.0704)
OKLCHoklch(55.06% 0.138 149.3)
XYZxyz(10.3397, 18.0774, 8.0976)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238742 #872368
analogous
#368723 #238742 #238774
triadic
#238742 #422387 #874223
tetradic
#238742 #233687 #872368 #877423
square
#238742 #233687 #872368 #877423
split-complementary
#238742 #742387 #872336
monochromatic
#0A2612 #16562A #238742 #30B85A #52D27A

Accessibility & contrast

On white

4.55
#238742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#238742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238742
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238742#FFFFFF#000000##000000
##2387421.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3C
Deuteranopia (green-blind)
#7C7347
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #238742;
/* rgb */ color: rgb(35, 135, 66);
/* oklch */ color: oklch(55.1% 0.138 149.3);
Tailwind
colors: {
  custom: {
    50: '#6dab78',
    500: '#238742',
    950: '#000000',
  },
}
SCSS
$custom: #238742;
$custom-light: #6dab78;
$custom-dark: #000000;
JSON
{
  "hex": "#238742",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 66
  },
  "hsl": {
    "h": 138.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55062,
    "c": 0.13779,
    "h": 149.3
  },
  "luminance": 0.18079
}

Semantic roles & 50–950 ramp

primary
#238742
secondary
#B65096
accent
#46B2E2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238742

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

Preview Lab → · Contrast checker → · Palette generator →

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