#268C22#268C22

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

Color values

HEX#268C22
RGBrgb(38, 140, 34)
HSLhsl(118, 61%, 34%)
HSVhsv(118, 76%, 55%)
CMYKcmyk(72.9%, 0%, 75.7%, 45.1%)
CIE-LABlab(51.02, -49.21, 45.47)
CIE-LCHlch(51.02, 67.00, 137.26°)
OKLaboklab(56.16% -0.1338 0.1028)
OKLCHoklch(56.16% 0.169 142.5)
XYZxyz(10.4655, 19.2826, 4.6834)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C22 #88228C
analogous
#5B8C22 #268C22 #228C53
triadic
#268C22 #22268C #8C2226
tetradic
#268C22 #225B8C #88228C #8C5322
square
#268C22 #225B8C #88228C #8C5322
split-complementary
#268C22 #53228C #8C225B
monochromatic
#0B2A0A #195B16 #268C22 #33BD2E #58D553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268C22#FFFFFF#000000##000000
##268C221.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)
#8F7E0D
Deuteranopia (green-blind)
#84762D
Tritanopia (blue-blind)
#048878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268c22;
/* rgb */ color: rgb(38, 140, 34);
/* oklch */ color: oklch(56.2% 0.169 142.5);
Tailwind
colors: {
  custom: {
    50: '#71af65',
    500: '#268c22',
    950: '#000000',
  },
}
SCSS
$custom: #268c22;
$custom-light: #71af65;
$custom-dark: #000000;
JSON
{
  "hex": "#268c22",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 117.736,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56156,
    "c": 0.16871,
    "h": 142.5
  },
  "luminance": 0.19284
}

Semantic roles & 50–950 ramp

primary
#268C22
secondary
#B551B9
accent
#44E4DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268C22

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

Preview Lab → · Contrast checker → · Palette generator →

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