#238041#238041

#238041 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.129 H 149.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#238041
RGBrgb(35, 128, 65)
HSLhsl(139, 57%, 32%)
HSVhsv(139, 73%, 50%)
CMYKcmyk(72.7%, 0%, 49.2%, 49.8%)
CIE-LABlab(47.20, -41.49, 26.52)
CIE-LCHlch(47.20, 49.25, 147.41°)
OKLaboklab(53.09% -0.1117 0.0647)
OKLCHoklch(53.09% 0.129 149.9)
XYZxyz(9.3657, 16.1763, 7.6287)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238041 #802362
analogous
#348023 #238041 #238070
triadic
#238041 #412380 #804123
tetradic
#238041 #233480 #802362 #807023
square
#238041 #233480 #802362 #807023
split-complementary
#238041 #702380 #802334
monochromatic
#092010 #165029 #238041 #30B059 #4FCF78

Accessibility & contrast

On white

4.96
#238041 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#238041 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238041
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238041#FFFFFF#000000##FFFFFF
##2380411.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753C
Deuteranopia (green-blind)
#766D45
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #238041;
/* rgb */ color: rgb(35, 128, 65);
/* oklch */ color: oklch(53.1% 0.129 149.9);
Tailwind
colors: {
  custom: {
    50: '#6ca677',
    500: '#238041',
    950: '#000000',
  },
}
SCSS
$custom: #238041;
$custom-light: #6ca677;
$custom-dark: #000000;
JSON
{
  "hex": "#238041",
  "rgb": {
    "r": 35,
    "g": 128,
    "b": 65
  },
  "hsl": {
    "h": 139.355,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53086,
    "c": 0.12911,
    "h": 149.9
  },
  "luminance": 0.16177
}

Semantic roles & 50–950 ramp

primary
#238041
secondary
#B24D91
accent
#47AFE0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #238041

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

Preview Lab → · Contrast checker → · Palette generator →

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