#268E21#268E21

#268E21 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.172 H 142.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#268E21
RGBrgb(38, 142, 33)
HSLhsl(117, 62%, 34%)
HSVhsv(117, 77%, 56%)
CMYKcmyk(73.2%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.69, -49.98, 46.51)
CIE-LCHlch(51.69, 68.27, 137.06°)
OKLaboklab(56.71% -0.1359 0.1048)
OKLCHoklch(56.71% 0.172 142.4)
XYZxyz(10.7462, 19.8667, 4.7069)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268E21 #89218E
analogous
#5D8E21 #268E21 #218E53
triadic
#268E21 #21268E #8E2126
tetradic
#268E21 #215D8E #89218E #8E5321
square
#268E21 #215D8E #89218E #8E5321
split-complementary
#268E21 #53218E #8E215D
monochromatic
#0B2B0A #195C15 #268E21 #33C02D #59D752

Accessibility & contrast

On white

4.22
#268E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#268E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268E21
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268E21#FFFFFF#000000##000000
##268E211.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#038A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #268e21;
/* rgb */ color: rgb(38, 142, 33);
/* oklch */ color: oklch(56.7% 0.172 142.4);
Tailwind
colors: {
  custom: {
    50: '#72b064',
    500: '#268e21',
    950: '#000000',
  },
}
SCSS
$custom: #268e21;
$custom-light: #72b064;
$custom-dark: #000000;
JSON
{
  "hex": "#268e21",
  "rgb": {
    "r": 38,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 117.248,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.17162,
    "h": 142.4
  },
  "luminance": 0.19868
}

Semantic roles & 50–950 ramp

primary
#268E21
secondary
#B650BA
accent
#42E5DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #268E21

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

Preview Lab → · Contrast checker → · Palette generator →

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