#238E38#238E38

#238E38 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.156 H 146.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#238E38
RGBrgb(35, 142, 56)
HSLhsl(132, 60%, 35%)
HSVhsv(132, 75%, 56%)
CMYKcmyk(75.4%, 0%, 60.6%, 44.3%)
CIE-LABlab(51.82, -48.10, 36.76)
CIE-LCHlch(51.82, 60.54, 142.61°)
OKLaboklab(56.87% -0.1296 0.0868)
OKLCHoklch(56.87% 0.156 146.2)
XYZxyz(11.0791, 19.9876, 7.0147)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E38 #8E2379
analogous
#438E23 #238E38 #238E6E
triadic
#238E38 #38238E #8E3823
tetradic
#238E38 #23438E #8E2379 #8E6E23
square
#238E38 #23438E #8E2379 #8E6E23
split-complementary
#238E38 #6E238E #8E2343
monochromatic
#0B2C11 #175D25 #238E38 #2FBF4B #56D56F

Accessibility & contrast

On white

4.20
#238E38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#238E38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E38
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E38#FFFFFF#000000##000000
##238E381.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812F
Deuteranopia (green-blind)
#84783F
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238e38;
/* rgb */ color: rgb(35, 142, 56);
/* oklch */ color: oklch(56.9% 0.156 146.2);
Tailwind
colors: {
  custom: {
    50: '#6fb071',
    500: '#238e38',
    950: '#000000',
  },
}
SCSS
$custom: #238e38;
$custom-light: #6fb071;
$custom-dark: #000000;
JSON
{
  "hex": "#238e38",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 56
  },
  "hsl": {
    "h": 131.776,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5687,
    "c": 0.15603,
    "h": 146.2
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#238E38
secondary
#B953A5
accent
#44C4E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081108
muted
#7B807B

Preview Lab

Preview with #238E38

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

Preview Lab → · Contrast checker → · Palette generator →

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