#268C42#268C42

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

Color values

HEX#268C42
RGBrgb(38, 140, 66)
HSLhsl(136, 57%, 35%)
HSVhsv(136, 73%, 55%)
CMYKcmyk(72.9%, 0%, 52.9%, 45.1%)
CIE-LABlab(51.34, -45.41, 31.16)
CIE-LCHlch(51.34, 55.07, 145.54°)
OKLaboklab(56.52% -0.1222 0.0752)
OKLCHoklch(56.52% 0.144 148.4)
XYZxyz(11.1599, 19.5603, 8.3406)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C42 #8C2670
analogous
#3D8C26 #268C42 #268C75
triadic
#268C42 #42268C #8C4226
tetradic
#268C42 #263D8C #8C2670 #8C7526
square
#268C42 #263D8C #8C2670 #8C7526
split-complementary
#268C42 #75268C #8C263D
monochromatic
#0C2C15 #195C2B #268C42 #33BC59 #5AD27B

Accessibility & contrast

On white

4.27
#268C42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##268C42#FFFFFF#000000##000000
##268C421.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #268c42;
/* rgb */ color: rgb(38, 140, 66);
/* oklch */ color: oklch(56.5% 0.144 148.4);
Tailwind
colors: {
  custom: {
    50: '#70af78',
    500: '#268c42',
    950: '#000000',
  },
}
SCSS
$custom: #268c42;
$custom-light: #70af78;
$custom-dark: #000000;
JSON
{
  "hex": "#268c42",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 66
  },
  "hsl": {
    "h": 136.471,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56524,
    "c": 0.14354,
    "h": 148.4
  },
  "luminance": 0.19562
}

Semantic roles & 50–950 ramp

primary
#268C42
secondary
#B7579D
accent
#47B6E1
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #268C42

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

Preview Lab → · Contrast checker → · Palette generator →

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