#268D20#268D20

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

Color values

HEX#268D20
RGBrgb(38, 141, 32)
HSLhsl(117, 63%, 34%)
HSVhsv(117, 77%, 55%)
CMYKcmyk(73%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.34, -49.71, 46.53)
CIE-LCHlch(51.34, 68.09, 136.90°)
OKLaboklab(56.42% -0.1353 0.1047)
OKLCHoklch(56.42% 0.171 142.3)
XYZxyz(10.5843, 19.5649, 4.5848)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268D20 #87208D
analogous
#5D8D20 #268D20 #208D51
triadic
#268D20 #20268D #8D2026
tetradic
#268D20 #205D8D #87208D #8D5120
square
#268D20 #205D8D #87208D #8D5120
split-complementary
#268D20 #51208D #8D205D
monochromatic
#0B2909 #195B15 #268D20 #33BF2B #58D750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268D20#FFFFFF#000000##000000
##268D201.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)
#907F08
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#048978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268d20;
/* rgb */ color: rgb(38, 141, 32);
/* oklch */ color: oklch(56.4% 0.171 142.3);
Tailwind
colors: {
  custom: {
    50: '#71af64',
    500: '#268d20',
    950: '#000000',
  },
}
SCSS
$custom: #268d20;
$custom-light: #71af64;
$custom-dark: #000000;
JSON
{
  "hex": "#268d20",
  "rgb": {
    "r": 38,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 116.697,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56422,
    "c": 0.17103,
    "h": 142.3
  },
  "luminance": 0.19566
}

Semantic roles & 50–950 ramp

primary
#268D20
secondary
#B54EBA
accent
#42E6DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268D20

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

Preview Lab → · Contrast checker → · Palette generator →

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