#268D28#268D28

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

Color values

HEX#268D28
RGBrgb(38, 141, 40)
HSLhsl(121, 58%, 35%)
HSVhsv(121, 73%, 55%)
CMYKcmyk(73%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.40, -49.03, 43.51)
CIE-LCHlch(51.40, 65.55, 138.42°)
OKLaboklab(56.49% -0.133 0.0995)
OKLCHoklch(56.49% 0.166 143.2)
XYZxyz(10.7065, 19.6138, 5.2287)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268D28 #8D268B
analogous
#578D26 #268D28 #268D5B
triadic
#268D28 #28268D #8D2826
tetradic
#268D28 #26578D #8D268B #8D5B26
square
#268D28 #26578D #8D268B #8D5B26
split-complementary
#268D28 #5B268D #8D2657
monochromatic
#0C2D0D #195D1A #268D28 #33BD36 #5BD35D

Accessibility & contrast

On white

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

On black

4.92
#268D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268D28
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268D28#FFFFFF#000000##000000
##268D281.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268d28;
/* rgb */ color: rgb(38, 141, 40);
/* oklch */ color: oklch(56.5% 0.166 143.2);
Tailwind
colors: {
  custom: {
    50: '#71af68',
    500: '#268d28',
    950: '#000000',
  },
}
SCSS
$custom: #268d28;
$custom-light: #71af68;
$custom-dark: #000000;
JSON
{
  "hex": "#268d28",
  "rgb": {
    "r": 38,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 121.165,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56486,
    "c": 0.16608,
    "h": 143.2
  },
  "luminance": 0.19615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #268D28

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

Preview Lab → · Contrast checker → · Palette generator →

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