#238C26#238C26

#238C26 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.167 H 143.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#238C26
RGBrgb(35, 140, 38)
HSLhsl(122, 60%, 34%)
HSVhsv(122, 75%, 55%)
CMYKcmyk(75%, 0%, 72.9%, 45.1%)
CIE-LABlab(50.98, -49.41, 43.86)
CIE-LCHlch(50.98, 66.07, 138.40°)
OKLaboklab(56.12% -0.134 0.1)
OKLCHoklch(56.12% 0.167 143.3)
XYZxyz(10.4204, 19.2523, 5.0002)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C26 #8C2389
analogous
#558C23 #238C26 #238C5B
triadic
#238C26 #26238C #8C2623
tetradic
#238C26 #23558C #8C2389 #8C5B23
square
#238C26 #23558C #8C2389 #8C5B23
split-complementary
#238C26 #5B238C #8C2355
monochromatic
#0B2A0B #175B19 #238C26 #2FBD33 #55D459

Accessibility & contrast

On white

4.33
#238C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#238C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C26
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C26#FFFFFF#000000##000000
##238C261.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E15
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238c26;
/* rgb */ color: rgb(35, 140, 38);
/* oklch */ color: oklch(56.1% 0.167 143.3);
Tailwind
colors: {
  custom: {
    50: '#70af67',
    500: '#238c26',
    950: '#000000',
  },
}
SCSS
$custom: #238c26;
$custom-light: #70af67;
$custom-dark: #000000;
JSON
{
  "hex": "#238c26",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 38
  },
  "hsl": {
    "h": 121.714,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.16715,
    "h": 143.3
  },
  "luminance": 0.19253
}

Semantic roles & 50–950 ramp

primary
#238C26
secondary
#B852B6
accent
#45DFE3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238C26

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

Preview Lab → · Contrast checker → · Palette generator →

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