#238541#238541

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

Color values

HEX#238541
RGBrgb(35, 133, 65)
HSLhsl(138, 58%, 33%)
HSVhsv(138, 74%, 52%)
CMYKcmyk(73.7%, 0%, 51.1%, 47.8%)
CIE-LABlab(48.90, -43.43, 28.65)
CIE-LCHlch(48.90, 52.03, 146.59°)
OKLaboklab(54.49% -0.1169 0.0696)
OKLCHoklch(54.49% 0.136 149.2)
XYZxyz(10.0340, 17.5129, 7.8515)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238541 #852367
analogous
#368523 #238541 #238572
triadic
#238541 #412385 #854123
tetradic
#238541 #233685 #852367 #857223
square
#238541 #233685 #852367 #857223
split-complementary
#238541 #722385 #852336
monochromatic
#092412 #165529 #238541 #30B559 #51D178

Accessibility & contrast

On white

4.66
#238541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #238541
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238541#FFFFFF#000000##FFFFFF
##2385411.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #238541;
/* rgb */ color: rgb(35, 133, 65);
/* oklch */ color: oklch(54.5% 0.136 149.2);
Tailwind
colors: {
  custom: {
    50: '#6da977',
    500: '#238541',
    950: '#000000',
  },
}
SCSS
$custom: #238541;
$custom-light: #6da977;
$custom-dark: #000000;
JSON
{
  "hex": "#238541",
  "rgb": {
    "r": 35,
    "g": 133,
    "b": 65
  },
  "hsl": {
    "h": 138.367,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54487,
    "c": 0.13601,
    "h": 149.2
  },
  "luminance": 0.17514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238541

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

Preview Lab → · Contrast checker → · Palette generator →

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