#268F20#268F20

#268F20 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.173 H 142.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#268F20
RGBrgb(38, 143, 32)
HSLhsl(117, 63%, 34%)
HSVhsv(117, 78%, 56%)
CMYKcmyk(73.4%, 0%, 77.6%, 43.9%)
CIE-LABlab(52.02, -50.39, 47.19)
CIE-LCHlch(52.02, 69.04, 136.88°)
OKLaboklab(56.98% -0.1371 0.1061)
OKLCHoklch(56.98% 0.173 142.3)
XYZxyz(10.8819, 20.1601, 4.6840)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F20 #89208F
analogous
#5E8F20 #268F20 #208F52
triadic
#268F20 #20268F #8F2026
tetradic
#268F20 #205E8F #89208F #8F5220
square
#268F20 #205E8F #89208F #8F5220
split-complementary
#268F20 #52208F #8F205E
monochromatic
#0B2B0A #195D15 #268F20 #33C12B #59D851

Accessibility & contrast

On white

4.17
#268F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#268F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268F20
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268F20#FFFFFF#000000##000000
##268F201.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928106
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#028B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #268f20;
/* rgb */ color: rgb(38, 143, 32);
/* oklch */ color: oklch(57.0% 0.173 142.3);
Tailwind
colors: {
  custom: {
    50: '#72b164',
    500: '#268f20',
    950: '#000000',
  },
}
SCSS
$custom: #268f20;
$custom-light: #72b164;
$custom-dark: #000000;
JSON
{
  "hex": "#268f20",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 116.757,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.17334,
    "h": 142.3
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#268F20
secondary
#B64FBB
accent
#41E6DE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #268F20

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

Preview Lab → · Contrast checker → · Palette generator →

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