#238540#238540

#238540 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.137 H 148.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#238540
RGBrgb(35, 133, 64)
HSLhsl(138, 58%, 33%)
HSVhsv(138, 74%, 52%)
CMYKcmyk(73.7%, 0%, 51.9%, 47.8%)
CIE-LABlab(48.89, -43.60, 29.16)
CIE-LCHlch(48.89, 52.45, 146.22°)
OKLaboklab(54.47% -0.1173 0.0707)
OKLCHoklch(54.47% 0.137 148.9)
XYZxyz(10.0053, 17.5014, 7.7003)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238540 #852368
analogous
#378523 #238540 #238571
triadic
#238540 #402385 #854023
tetradic
#238540 #233785 #852368 #857123
square
#238540 #233785 #852368 #857123
split-complementary
#238540 #712385 #852337
monochromatic
#092411 #165529 #238540 #30B557 #51D177

Accessibility & contrast

On white

4.67
#238540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#238540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #238540
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238540#FFFFFF#000000##FFFFFF
##2385401.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7B7145
Tritanopia (blue-blind)
#008275
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #238540;
/* rgb */ color: rgb(35, 133, 64);
/* oklch */ color: oklch(54.5% 0.137 148.9);
Tailwind
colors: {
  custom: {
    50: '#6da976',
    500: '#238540',
    950: '#000000',
  },
}
SCSS
$custom: #238540;
$custom-light: #6da976;
$custom-dark: #000000;
JSON
{
  "hex": "#238540",
  "rgb": {
    "r": 35,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 137.755,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54471,
    "c": 0.13696,
    "h": 148.9
  },
  "luminance": 0.17503
}

Semantic roles & 50–950 ramp

primary
#238540
secondary
#B54F97
accent
#46B4E2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #238540

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

Preview Lab → · Contrast checker → · Palette generator →

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