#268D27#268D27

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

Color values

HEX#268D27
RGBrgb(38, 141, 39)
HSLhsl(121, 58%, 35%)
HSVhsv(121, 73%, 55%)
CMYKcmyk(73%, 0%, 72.3%, 44.7%)
CIE-LABlab(51.39, -49.12, 43.91)
CIE-LCHlch(51.39, 65.89, 138.21°)
OKLaboklab(56.48% -0.1333 0.1002)
OKLCHoklch(56.48% 0.167 143.1)
XYZxyz(10.6898, 19.6071, 5.1402)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268D27 #8D268C
analogous
#588D26 #268D27 #268D5B
triadic
#268D27 #27268D #8D2726
tetradic
#268D27 #26588D #8D268C #8D5B26
square
#268D27 #26588D #8D268C #8D5B26
split-complementary
#268D27 #5B268D #8D2658
monochromatic
#0C2D0C #195D1A #268D27 #33BD34 #5BD35C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268D27#FFFFFF#000000##000000
##268D271.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)
#907F17
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#018979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268d27;
/* rgb */ color: rgb(38, 141, 39);
/* oklch */ color: oklch(56.5% 0.167 143.1);
Tailwind
colors: {
  custom: {
    50: '#71af67',
    500: '#268d27',
    950: '#000000',
  },
}
SCSS
$custom: #268d27;
$custom-light: #71af67;
$custom-dark: #000000;
JSON
{
  "hex": "#268d27",
  "rgb": {
    "r": 38,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 120.583,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56478,
    "c": 0.16675,
    "h": 143.1
  },
  "luminance": 0.19608
}

Semantic roles & 50–950 ramp

primary
#268D27
secondary
#B857B7
accent
#47DFE1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268D27

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

Preview Lab → · Contrast checker → · Palette generator →

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