#268C2D#268C2D

#268C2D is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.161 H 144.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#268C2D
RGBrgb(38, 140, 45)
HSLhsl(124, 57%, 35%)
HSVhsv(124, 73%, 55%)
CMYKcmyk(72.9%, 0%, 67.9%, 45.1%)
CIE-LABlab(51.10, -48.18, 41.06)
CIE-LCHlch(51.10, 63.30, 139.56°)
OKLaboklab(56.25% -0.1304 0.0949)
OKLCHoklch(56.25% 0.161 144)
XYZxyz(10.6504, 19.3565, 5.6570)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C2D #8C2685
analogous
#528C26 #268C2D #268C60
triadic
#268C2D #2D268C #8C2D26
tetradic
#268C2D #26528C #8C2685 #8C6026
square
#268C2D #26528C #8C2685 #8C6026
split-complementary
#268C2D #60268C #8C2652
monochromatic
#0C2C0E #195C1E #268C2D #33BC3C #5AD262

Accessibility & contrast

On white

4.31
#268C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#268C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268C2D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268C2D#FFFFFF#000000##000000
##268C2D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268c2d;
/* rgb */ color: rgb(38, 140, 45);
/* oklch */ color: oklch(56.3% 0.161 144.0);
Tailwind
colors: {
  custom: {
    50: '#70af6b',
    500: '#268c2d',
    950: '#000000',
  },
}
SCSS
$custom: #268c2d;
$custom-light: #70af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#268c2d",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 124.118,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56254,
    "c": 0.16132,
    "h": 144
  },
  "luminance": 0.19358
}

Semantic roles & 50–950 ramp

primary
#268C2D
secondary
#B757B0
accent
#47D6E1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #268C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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