#238E4B#238E4B

#238E4B is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.139 H 151.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#238E4B
RGBrgb(35, 142, 75)
HSLhsl(142, 60%, 35%)
HSVhsv(142, 75%, 56%)
CMYKcmyk(75.4%, 0%, 47.2%, 44.3%)
CIE-LABlab(52.07, -45.16, 27.31)
CIE-LCHlch(52.07, 52.77, 148.84°)
OKLaboklab(57.16% -0.1215 0.067)
OKLCHoklch(57.16% 0.139 151.1)
XYZxyz(11.6351, 20.2100, 9.9430)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E4B #8E2366
analogous
#308E23 #238E4B #238E81
triadic
#238E4B #4B238E #8E4B23
tetradic
#238E4B #23308E #8E2366 #8E8123
square
#238E4B #23308E #8E2366 #8E8123
split-complementary
#238E4B #81238E #8E2330
monochromatic
#0B2C17 #175D31 #238E4B #2FBF65 #56D586

Accessibility & contrast

On white

4.16
#238E4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#238E4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E4B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E4B#FFFFFF#000000##000000
##238E4B1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8246
Deuteranopia (green-blind)
#827950
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238e4b;
/* rgb */ color: rgb(35, 142, 75);
/* oklch */ color: oklch(57.2% 0.139 151.1);
Tailwind
colors: {
  custom: {
    50: '#6fb07e',
    500: '#238e4b',
    950: '#000000',
  },
}
SCSS
$custom: #238e4b;
$custom-light: #6fb07e;
$custom-dark: #000000;
JSON
{
  "hex": "#238e4b",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 75
  },
  "hsl": {
    "h": 142.43,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57158,
    "c": 0.1387,
    "h": 151.1
  },
  "luminance": 0.20211
}

Semantic roles & 50–950 ramp

primary
#238E4B
secondary
#B95393
accent
#44A8E4
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #238E4B

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

Preview Lab → · Contrast checker → · Palette generator →

#238E4B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva