#238442#238442

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

Color values

HEX#238442
RGBrgb(35, 132, 66)
HSLhsl(139, 58%, 33%)
HSVhsv(139, 73%, 52%)
CMYKcmyk(73.5%, 0%, 50%, 48.2%)
CIE-LABlab(48.58, -42.88, 27.71)
CIE-LCHlch(48.58, 51.05, 147.13°)
OKLaboklab(54.22% -0.1154 0.0675)
OKLCHoklch(54.22% 0.134 149.7)
XYZxyz(9.9270, 17.2521, 7.9600)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238442 #842365
analogous
#358423 #238442 #238472
triadic
#238442 #422384 #844223
tetradic
#238442 #233584 #842365 #847223
square
#238442 #233584 #842365 #847223
split-complementary
#238442 #722384 #842335
monochromatic
#092312 #16542A #238442 #30B45A #51D17A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238442#FFFFFF#000000##FFFFFF
##2384421.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)
#85783D
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #238442;
/* rgb */ color: rgb(35, 132, 66);
/* oklch */ color: oklch(54.2% 0.134 149.7);
Tailwind
colors: {
  custom: {
    50: '#6da977',
    500: '#238442',
    950: '#000000',
  },
}
SCSS
$custom: #238442;
$custom-light: #6da977;
$custom-dark: #000000;
JSON
{
  "hex": "#238442",
  "rgb": {
    "r": 35,
    "g": 132,
    "b": 66
  },
  "hsl": {
    "h": 139.175,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54224,
    "c": 0.13369,
    "h": 149.7
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

primary
#238442
secondary
#B44E94
accent
#46B0E1
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238442

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

Preview Lab → · Contrast checker → · Palette generator →

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