#238942#238942

#238942 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.141 H 149.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#238942
RGBrgb(35, 137, 66)
HSLhsl(138, 59%, 34%)
HSVhsv(138, 74%, 54%)
CMYKcmyk(74.5%, 0%, 51.8%, 46.3%)
CIE-LABlab(50.26, -44.79, 29.82)
CIE-LCHlch(50.26, 53.81, 146.35°)
OKLaboklab(55.62% -0.1205 0.0722)
OKLCHoklch(55.62% 0.141 149.1)
XYZxyz(10.6213, 18.6408, 8.1915)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238942 #89236A
analogous
#378923 #238942 #238975
triadic
#238942 #422389 #894223
tetradic
#238942 #233789 #89236A #897523
square
#238942 #233789 #89236A #897523
split-complementary
#238942 #752389 #892337
monochromatic
#0A2813 #17582B #238942 #2FBA59 #53D37A

Accessibility & contrast

On white

4.44
#238942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#238942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238942
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238942#FFFFFF#000000##000000
##2389421.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3C
Deuteranopia (green-blind)
#7E7447
Tritanopia (blue-blind)
#008679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238942;
/* rgb */ color: rgb(35, 137, 66);
/* oklch */ color: oklch(55.6% 0.141 149.1);
Tailwind
colors: {
  custom: {
    50: '#6eac78',
    500: '#238942',
    950: '#000000',
  },
}
SCSS
$custom: #238942;
$custom-light: #6eac78;
$custom-dark: #000000;
JSON
{
  "hex": "#238942",
  "rgb": {
    "r": 35,
    "g": 137,
    "b": 66
  },
  "hsl": {
    "h": 138.235,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5562,
    "c": 0.1405,
    "h": 149.1
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#238942
secondary
#B75198
accent
#45B3E2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238942

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

Preview Lab → · Contrast checker → · Palette generator →

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