#268C20#268C20

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

Color values

HEX#268C20
RGBrgb(38, 140, 32)
HSLhsl(117, 63%, 34%)
HSVhsv(117, 77%, 55%)
CMYKcmyk(72.9%, 0%, 77.1%, 45.1%)
CIE-LABlab(51.00, -49.37, 46.19)
CIE-LCHlch(51.00, 67.61, 136.91°)
OKLaboklab(56.14% -0.1343 0.104)
OKLCHoklch(56.14% 0.17 142.3)
XYZxyz(10.4375, 19.2714, 4.5359)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C20 #86208C
analogous
#5C8C20 #268C20 #208C50
triadic
#268C20 #20268C #8C2026
tetradic
#268C20 #205C8C #86208C #8C5020
square
#268C20 #205C8C #86208C #8C5020
split-complementary
#268C20 #50208C #8C205C
monochromatic
#0B2809 #185A15 #268C20 #34BE2B #57D750

Accessibility & contrast

On white

4.33
#268C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#268C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268C20
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268C20#FFFFFF#000000##000000
##268C201.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#84762C
Tritanopia (blue-blind)
#058877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268c20;
/* rgb */ color: rgb(38, 140, 32);
/* oklch */ color: oklch(56.1% 0.170 142.3);
Tailwind
colors: {
  custom: {
    50: '#71af64',
    500: '#268c20',
    950: '#000000',
  },
}
SCSS
$custom: #268c20;
$custom-light: #71af64;
$custom-dark: #000000;
JSON
{
  "hex": "#268c20",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 116.667,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.16987,
    "h": 142.3
  },
  "luminance": 0.19273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #268C20

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

Preview Lab → · Contrast checker → · Palette generator →

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