#268F21#268F21

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

Color values

HEX#268F21
RGBrgb(38, 143, 33)
HSLhsl(117, 63%, 35%)
HSVhsv(117, 77%, 56%)
CMYKcmyk(73.4%, 0%, 76.9%, 43.9%)
CIE-LABlab(52.02, -50.32, 46.84)
CIE-LCHlch(52.02, 68.75, 137.05°)
OKLaboklab(56.99% -0.1368 0.1055)
OKLCHoklch(56.99% 0.173 142.4)
XYZxyz(10.8957, 20.1656, 4.7567)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F21 #8A218F
analogous
#5D8F21 #268F21 #218F53
triadic
#268F21 #21268F #8F2126
tetradic
#268F21 #215D8F #8A218F #8F5321
square
#268F21 #215D8F #8A218F #8F5321
split-complementary
#268F21 #53218F #8F215D
monochromatic
#0C2C0A #195D16 #268F21 #33C12C #59D753

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268F21#FFFFFF#000000##000000
##268F211.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)
#928109
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#028B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #268f21;
/* rgb */ color: rgb(38, 143, 33);
/* oklch */ color: oklch(57.0% 0.173 142.4);
Tailwind
colors: {
  custom: {
    50: '#72b164',
    500: '#268f21',
    950: '#000000',
  },
}
SCSS
$custom: #268f21;
$custom-light: #72b164;
$custom-dark: #000000;
JSON
{
  "hex": "#268f21",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 117.273,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.17278,
    "h": 142.4
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#268F21
secondary
#B651BB
accent
#42E6DE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #268F21

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

Preview Lab → · Contrast checker → · Palette generator →

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