#268C27#268C27

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

Color values

HEX#268C27
RGBrgb(38, 140, 39)
HSLhsl(121, 57%, 35%)
HSVhsv(121, 73%, 55%)
CMYKcmyk(72.9%, 0%, 72.1%, 45.1%)
CIE-LABlab(51.05, -48.78, 43.55)
CIE-LCHlch(51.05, 65.39, 138.24°)
OKLaboklab(56.2% -0.1324 0.0994)
OKLCHoklch(56.2% 0.166 143.1)
XYZxyz(10.5430, 19.3136, 5.0913)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C27 #8C268B
analogous
#588C26 #268C27 #268C5A
triadic
#268C27 #27268C #8C2726
tetradic
#268C27 #26588C #8C268B #8C5A26
square
#268C27 #26588C #8C268B #8C5A26
split-complementary
#268C27 #5A268C #8C2658
monochromatic
#0C2C0C #195C1A #268C27 #33BC34 #5AD25B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268C27#FFFFFF#000000##000000
##268C271.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)
#8F7F17
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#028878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268c27;
/* rgb */ color: rgb(38, 140, 39);
/* oklch */ color: oklch(56.2% 0.166 143.1);
Tailwind
colors: {
  custom: {
    50: '#71af67',
    500: '#268c27',
    950: '#000000',
  },
}
SCSS
$custom: #268c27;
$custom-light: #71af67;
$custom-dark: #000000;
JSON
{
  "hex": "#268c27",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 120.588,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56197,
    "c": 0.16554,
    "h": 143.1
  },
  "luminance": 0.19315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #268C27

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

Preview Lab → · Contrast checker → · Palette generator →

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