#238440#238440

#238440 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.136 H 149.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#238440
RGBrgb(35, 132, 64)
HSLhsl(138, 58%, 33%)
HSVhsv(138, 73%, 52%)
CMYKcmyk(73.5%, 0%, 51.5%, 48.2%)
CIE-LABlab(48.55, -43.21, 28.74)
CIE-LCHlch(48.55, 51.90, 146.37°)
OKLaboklab(54.19% -0.1163 0.0697)
OKLCHoklch(54.19% 0.136 149.1)
XYZxyz(9.8690, 17.2289, 7.6549)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238440 #842367
analogous
#368423 #238440 #238470
triadic
#238440 #402384 #844023
tetradic
#238440 #233684 #842367 #847023
square
#238440 #233684 #842367 #847023
split-complementary
#238440 #702384 #842336
monochromatic
#092311 #165429 #238440 #30B457 #51D177

Accessibility & contrast

On white

4.72
#238440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#238440 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238440
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238440#FFFFFF#000000##FFFFFF
##2384401.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85783A
Deuteranopia (green-blind)
#7A7045
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #238440;
/* rgb */ color: rgb(35, 132, 64);
/* oklch */ color: oklch(54.2% 0.136 149.1);
Tailwind
colors: {
  custom: {
    50: '#6da976',
    500: '#238440',
    950: '#000000',
  },
}
SCSS
$custom: #238440;
$custom-light: #6da976;
$custom-dark: #000000;
JSON
{
  "hex": "#238440",
  "rgb": {
    "r": 35,
    "g": 132,
    "b": 64
  },
  "hsl": {
    "h": 137.938,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54191,
    "c": 0.13561,
    "h": 149.1
  },
  "luminance": 0.1723
}

Semantic roles & 50–950 ramp

primary
#238440
secondary
#B44E96
accent
#46B3E1
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #238440

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

Preview Lab → · Contrast checker → · Palette generator →

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