#268D21#268D21

#268D21 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.170 H 142.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#268D21
RGBrgb(38, 141, 33)
HSLhsl(117, 62%, 34%)
HSVhsv(117, 77%, 55%)
CMYKcmyk(73%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.35, -49.64, 46.17)
CIE-LCHlch(51.35, 67.79, 137.07°)
OKLaboklab(56.43% -0.135 0.1041)
OKLCHoklch(56.43% 0.17 142.4)
XYZxyz(10.5981, 19.5705, 4.6575)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268D21 #88218D
analogous
#5C8D21 #268D21 #218D52
triadic
#268D21 #21268D #8D2126
tetradic
#268D21 #215C8D #88218D #8D5221
square
#268D21 #215C8D #88218D #8D5221
split-complementary
#268D21 #52218D #8D215C
monochromatic
#0B2A0A #195B15 #268D21 #33BF2D #58D652

Accessibility & contrast

On white

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

On black

4.91
#268D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268D21
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268D21#FFFFFF#000000##000000
##268D211.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0A
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#048978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268d21;
/* rgb */ color: rgb(38, 141, 33);
/* oklch */ color: oklch(56.4% 0.170 142.4);
Tailwind
colors: {
  custom: {
    50: '#71af64',
    500: '#268d21',
    950: '#000000',
  },
}
SCSS
$custom: #268d21;
$custom-light: #71af64;
$custom-dark: #000000;
JSON
{
  "hex": "#268d21",
  "rgb": {
    "r": 38,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 117.222,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56429,
    "c": 0.17046,
    "h": 142.4
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

primary
#268D21
secondary
#B550BA
accent
#43E5DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268D21

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

Preview Lab → · Contrast checker → · Palette generator →

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