#268D40#268D40

#268D40 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.147 H 147.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#268D40
RGBrgb(38, 141, 64)
HSLhsl(135, 58%, 35%)
HSVhsv(135, 73%, 55%)
CMYKcmyk(73%, 0%, 54.6%, 44.7%)
CIE-LABlab(51.65, -46.09, 32.57)
CIE-LCHlch(51.65, 56.44, 144.75°)
OKLaboklab(56.77% -0.1241 0.0783)
OKLCHoklch(56.77% 0.147 147.8)
XYZxyz(11.2488, 19.8307, 8.0844)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268D40 #8D2673
analogous
#3F8D26 #268D40 #268D74
triadic
#268D40 #40268D #8D4026
tetradic
#268D40 #263F8D #8D2673 #8D7426
square
#268D40 #263F8D #8D2673 #8D7426
split-complementary
#268D40 #74268D #8D263F
monochromatic
#0C2D14 #195D2A #268D40 #33BD56 #5BD379

Accessibility & contrast

On white

4.23
#268D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#268D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268D40
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268D40#FFFFFF#000000##000000
##268D401.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)
#8F8039
Deuteranopia (green-blind)
#827846
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #268d40;
/* rgb */ color: rgb(38, 141, 64);
/* oklch */ color: oklch(56.8% 0.147 147.8);
Tailwind
colors: {
  custom: {
    50: '#70af77',
    500: '#268d40',
    950: '#000000',
  },
}
SCSS
$custom: #268d40;
$custom-light: #70af77;
$custom-dark: #000000;
JSON
{
  "hex": "#268d40",
  "rgb": {
    "r": 38,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 135.146,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.14672,
    "h": 147.8
  },
  "luminance": 0.19832
}

Semantic roles & 50–950 ramp

primary
#268D40
secondary
#B8579F
accent
#47BAE1
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #268D40

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

Preview Lab → · Contrast checker → · Palette generator →

#268D40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva