#268C40#268C40

#268C40 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.145 H 147.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#268C40
RGBrgb(38, 140, 64)
HSLhsl(135, 57%, 35%)
HSVhsv(135, 73%, 55%)
CMYKcmyk(72.9%, 0%, 54.3%, 45.1%)
CIE-LABlab(51.31, -45.72, 32.16)
CIE-LCHlch(51.31, 55.90, 144.87°)
OKLaboklab(56.49% -0.1231 0.0774)
OKLCHoklch(56.49% 0.145 147.9)
XYZxyz(11.1020, 19.5372, 8.0354)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C40 #8C2672
analogous
#3F8C26 #268C40 #268C73
triadic
#268C40 #40268C #8C4026
tetradic
#268C40 #263F8C #8C2672 #8C7326
square
#268C40 #263F8C #8C2672 #8C7326
split-complementary
#268C40 #73268C #8C263F
monochromatic
#0C2C14 #195C2A #268C40 #33BC56 #5AD279

Accessibility & contrast

On white

4.28
#268C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#268C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268C40
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268C40#FFFFFF#000000##000000
##268C401.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F39
Deuteranopia (green-blind)
#817746
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268c40;
/* rgb */ color: rgb(38, 140, 64);
/* oklch */ color: oklch(56.5% 0.145 147.9);
Tailwind
colors: {
  custom: {
    50: '#70af77',
    500: '#268c40',
    950: '#000000',
  },
}
SCSS
$custom: #268c40;
$custom-light: #70af77;
$custom-dark: #000000;
JSON
{
  "hex": "#268c40",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 64
  },
  "hsl": {
    "h": 135.294,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56494,
    "c": 0.14539,
    "h": 147.9
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

primary
#268C40
secondary
#B7579F
accent
#47B9E1
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #268C40

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

Preview Lab → · Contrast checker → · Palette generator →

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