#238F26#238F26

#238F26 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.171 H 143.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#238F26
RGBrgb(35, 143, 38)
HSLhsl(122, 61%, 35%)
HSVhsv(122, 76%, 56%)
CMYKcmyk(75.5%, 0%, 73.4%, 43.9%)
CIE-LABlab(52.00, -50.43, 44.91)
CIE-LCHlch(52.00, 67.53, 138.31°)
OKLaboklab(56.96% -0.1367 0.1022)
OKLCHoklch(56.96% 0.171 143.2)
XYZxyz(10.8648, 20.1409, 5.1483)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F26 #8F238C
analogous
#568F23 #238F26 #238F5C
triadic
#238F26 #26238F #8F2623
tetradic
#238F26 #23568F #8F238C #8F5C23
square
#238F26 #23568F #8F238C #8F5C23
split-complementary
#238F26 #5C238F #8F2356
monochromatic
#0B2D0C #175E19 #238F26 #2FC033 #57D65A

Accessibility & contrast

On white

4.18
#238F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#238F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F26
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F26#FFFFFF#000000##000000
##238F261.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f26;
/* rgb */ color: rgb(35, 143, 38);
/* oklch */ color: oklch(57.0% 0.171 143.2);
Tailwind
colors: {
  custom: {
    50: '#71b167',
    500: '#238f26',
    950: '#000000',
  },
}
SCSS
$custom: #238f26;
$custom-light: #71b167;
$custom-dark: #000000;
JSON
{
  "hex": "#238f26",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 121.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5696,
    "c": 0.17068,
    "h": 143.2
  },
  "luminance": 0.20142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238F26

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

Preview Lab → · Contrast checker → · Palette generator →

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