#268C28#268C28

#268C28 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.165 H 143.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#268C28
RGBrgb(38, 140, 40)
HSLhsl(121, 57%, 35%)
HSVhsv(121, 73%, 55%)
CMYKcmyk(72.9%, 0%, 71.4%, 45.1%)
CIE-LABlab(51.06, -48.68, 43.15)
CIE-LCHlch(51.06, 65.06, 138.45°)
OKLaboklab(56.21% -0.1321 0.0987)
OKLCHoklch(56.21% 0.165 143.2)
XYZxyz(10.5598, 19.3203, 5.1797)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C28 #8C268A
analogous
#578C26 #268C28 #268C5B
triadic
#268C28 #28268C #8C2826
tetradic
#268C28 #26578C #8C268A #8C5B26
square
#268C28 #26578C #8C268A #8C5B26
split-complementary
#268C28 #5B268C #8C2657
monochromatic
#0C2C0C #195C1A #268C28 #33BC36 #5AD25D

Accessibility & contrast

On white

4.32
#268C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#268C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268C28
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268C28#FFFFFF#000000##000000
##268C281.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F19
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#018878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268c28;
/* rgb */ color: rgb(38, 140, 40);
/* oklch */ color: oklch(56.2% 0.165 143.2);
Tailwind
colors: {
  custom: {
    50: '#71af68',
    500: '#268c28',
    950: '#000000',
  },
}
SCSS
$custom: #268c28;
$custom-light: #71af68;
$custom-dark: #000000;
JSON
{
  "hex": "#268c28",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 121.176,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56206,
    "c": 0.16488,
    "h": 143.2
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#268C28
secondary
#B757B5
accent
#47DEE1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268C28

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

Preview Lab → · Contrast checker → · Palette generator →

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