#238E26#238E26

#238E26 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.170 H 143.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#238E26
RGBrgb(35, 142, 38)
HSLhsl(122, 60%, 35%)
HSVhsv(122, 75%, 56%)
CMYKcmyk(75.4%, 0%, 73.2%, 44.3%)
CIE-LABlab(51.66, -50.09, 44.56)
CIE-LCHlch(51.66, 67.04, 138.34°)
OKLaboklab(56.68% -0.1358 0.1014)
OKLCHoklch(56.68% 0.17 143.3)
XYZxyz(10.7153, 19.8420, 5.0985)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E26 #8E238B
analogous
#568E23 #238E26 #238E5B
triadic
#238E26 #26238E #8E2623
tetradic
#238E26 #23568E #8E238B #8E5B23
square
#238E26 #23568E #8E238B #8E5B23
split-complementary
#238E26 #5B238E #8E2356
monochromatic
#0B2C0C #175D19 #238E26 #2FBF33 #56D55A

Accessibility & contrast

On white

4.23
#238E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#238E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E26
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E26#FFFFFF#000000##000000
##238E261.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918015
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e26;
/* rgb */ color: rgb(35, 142, 38);
/* oklch */ color: oklch(56.7% 0.170 143.3);
Tailwind
colors: {
  custom: {
    50: '#70b067',
    500: '#238e26',
    950: '#000000',
  },
}
SCSS
$custom: #238e26;
$custom-light: #70b067;
$custom-dark: #000000;
JSON
{
  "hex": "#238e26",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 121.682,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.16951,
    "h": 143.3
  },
  "luminance": 0.19843
}

Semantic roles & 50–950 ramp

primary
#238E26
secondary
#B953B7
accent
#44DFE4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238E26

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

Preview Lab → · Contrast checker → · Palette generator →

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