#238342#238342

#238342 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.132 H 149.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#238342
RGBrgb(35, 131, 66)
HSLhsl(139, 58%, 33%)
HSVhsv(139, 73%, 51%)
CMYKcmyk(73.3%, 0%, 49.6%, 48.6%)
CIE-LABlab(48.24, -42.49, 27.29)
CIE-LCHlch(48.24, 50.50, 147.29°)
OKLaboklab(53.94% -0.1144 0.0665)
OKLCHoklch(53.94% 0.132 149.8)
XYZxyz(9.7920, 16.9822, 7.9150)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238342 #832364
analogous
#348323 #238342 #238372
triadic
#238342 #422383 #834223
tetradic
#238342 #233483 #832364 #837223
square
#238342 #233483 #832364 #837223
split-complementary
#238342 #722383 #832334
monochromatic
#092211 #16532A #238342 #30B35A #50D07A

Accessibility & contrast

On white

4.78
#238342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#238342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238342
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238342#FFFFFF#000000##FFFFFF
##2383421.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773D
Deuteranopia (green-blind)
#786F47
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #238342;
/* rgb */ color: rgb(35, 131, 66);
/* oklch */ color: oklch(53.9% 0.132 149.8);
Tailwind
colors: {
  custom: {
    50: '#6ca877',
    500: '#238342',
    950: '#000000',
  },
}
SCSS
$custom: #238342;
$custom-light: #6ca877;
$custom-dark: #000000;
JSON
{
  "hex": "#238342",
  "rgb": {
    "r": 35,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 139.375,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53944,
    "c": 0.13231,
    "h": 149.8
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

primary
#238342
secondary
#B44E93
accent
#47AFE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #238342

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

Preview Lab → · Contrast checker → · Palette generator →

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