#268C21#268C21

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

Color values

HEX#268C21
RGBrgb(38, 140, 33)
HSLhsl(117, 62%, 34%)
HSVhsv(117, 76%, 55%)
CMYKcmyk(72.9%, 0%, 76.4%, 45.1%)
CIE-LABlab(51.01, -49.29, 45.83)
CIE-LCHlch(51.01, 67.31, 137.08°)
OKLaboklab(56.15% -0.1341 0.1034)
OKLCHoklch(56.15% 0.169 142.4)
XYZxyz(10.4513, 19.2769, 4.6086)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C21 #87218C
analogous
#5C8C21 #268C21 #218C52
triadic
#268C21 #21268C #8C2126
tetradic
#268C21 #215C8C #87218C #8C5221
square
#268C21 #215C8C #87218C #8C5221
split-complementary
#268C21 #52218C #8C215C
monochromatic
#0B290A #195A15 #268C21 #33BE2D #58D651

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268C21#FFFFFF#000000##000000
##268C211.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)
#8F7E0B
Deuteranopia (green-blind)
#84762D
Tritanopia (blue-blind)
#058877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268c21;
/* rgb */ color: rgb(38, 140, 33);
/* oklch */ color: oklch(56.1% 0.169 142.4);
Tailwind
colors: {
  custom: {
    50: '#71af64',
    500: '#268c21',
    950: '#000000',
  },
}
SCSS
$custom: #268c21;
$custom-light: #71af64;
$custom-dark: #000000;
JSON
{
  "hex": "#268c21",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 117.196,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56148,
    "c": 0.1693,
    "h": 142.4
  },
  "luminance": 0.19278
}

Semantic roles & 50–950 ramp

primary
#268C21
secondary
#B54FB9
accent
#43E5DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268C21

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

Preview Lab → · Contrast checker → · Palette generator →

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