#238B26#238B26

#238B26 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.166 H 143.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#238B26
RGBrgb(35, 139, 38)
HSLhsl(122, 60%, 34%)
HSVhsv(122, 75%, 55%)
CMYKcmyk(74.8%, 0%, 72.7%, 45.5%)
CIE-LABlab(50.64, -49.06, 43.51)
CIE-LCHlch(50.64, 65.58, 138.43°)
OKLaboklab(55.84% -0.133 0.0992)
OKLCHoklch(55.84% 0.166 143.3)
XYZxyz(10.2750, 18.9613, 4.9517)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B26 #8B2388
analogous
#548B23 #238B26 #238B5A
triadic
#238B26 #26238B #8B2623
tetradic
#238B26 #23548B #8B2388 #8B5A23
square
#238B26 #23548B #8B2388 #8B5A23
split-complementary
#238B26 #5A238B #8B2354
monochromatic
#0A290B #175A19 #238B26 #2FBC33 #54D458

Accessibility & contrast

On white

4.38
#238B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#238B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B26
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B26#FFFFFF#000000##000000
##238B261.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D16
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238b26;
/* rgb */ color: rgb(35, 139, 38);
/* oklch */ color: oklch(55.8% 0.166 143.3);
Tailwind
colors: {
  custom: {
    50: '#70ae66',
    500: '#238b26',
    950: '#000000',
  },
}
SCSS
$custom: #238b26;
$custom-light: #70ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#238b26",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 121.731,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.16596,
    "h": 143.3
  },
  "luminance": 0.18963
}

Semantic roles & 50–950 ramp

primary
#238B26
secondary
#B852B5
accent
#45DEE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238B26

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

Preview Lab → · Contrast checker → · Palette generator →

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