#238340#238340

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

Color values

HEX#238340
RGBrgb(35, 131, 64)
HSLhsl(138, 58%, 33%)
HSVhsv(138, 73%, 51%)
CMYKcmyk(73.3%, 0%, 51.1%, 48.6%)
CIE-LABlab(48.21, -42.83, 28.32)
CIE-LCHlch(48.21, 51.35, 146.52°)
OKLaboklab(53.91% -0.1153 0.0688)
OKLCHoklch(53.91% 0.134 149.2)
XYZxyz(9.7341, 16.9590, 7.6099)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238340 #832366
analogous
#368323 #238340 #238370
triadic
#238340 #402383 #834023
tetradic
#238340 #233683 #832366 #837023
square
#238340 #233683 #832366 #837023
split-complementary
#238340 #702383 #832336
monochromatic
#092211 #165328 #238340 #30B358 #50D077

Accessibility & contrast

On white

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

On black

4.39
#238340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##238340#FFFFFF#000000##FFFFFF
##2383401.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773A
Deuteranopia (green-blind)
#796F45
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #238340;
/* rgb */ color: rgb(35, 131, 64);
/* oklch */ color: oklch(53.9% 0.134 149.2);
Tailwind
colors: {
  custom: {
    50: '#6ca876',
    500: '#238340',
    950: '#000000',
  },
}
SCSS
$custom: #238340;
$custom-light: #6ca876;
$custom-dark: #000000;
JSON
{
  "hex": "#238340",
  "rgb": {
    "r": 35,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 138.125,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53911,
    "c": 0.13423,
    "h": 149.2
  },
  "luminance": 0.1696
}

Semantic roles & 50–950 ramp

primary
#238340
secondary
#B44E95
accent
#47B2E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #238340

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

Preview Lab → · Contrast checker → · Palette generator →

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