#268B21#268B21

#268B21 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.168 H 142.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#268B21
RGBrgb(38, 139, 33)
HSLhsl(117, 62%, 34%)
HSVhsv(117, 76%, 55%)
CMYKcmyk(72.7%, 0%, 76.3%, 45.5%)
CIE-LABlab(50.67, -48.95, 45.49)
CIE-LCHlch(50.67, 66.83, 137.09°)
OKLaboklab(55.87% -0.1331 0.1027)
OKLCHoklch(55.87% 0.168 142.4)
XYZxyz(10.3059, 18.9860, 4.5601)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268B21 #86218B
analogous
#5B8B21 #268B21 #218B51
triadic
#268B21 #21268B #8B2126
tetradic
#268B21 #215B8B #86218B #8B5121
square
#268B21 #215B8B #86218B #8B5121
split-complementary
#268B21 #51218B #8B215B
monochromatic
#0B280A #185A15 #268B21 #34BC2D #57D651

Accessibility & contrast

On white

4.38
#268B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#268B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268B21
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268B21#FFFFFF#000000##000000
##268B211.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0B
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#068777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268b21;
/* rgb */ color: rgb(38, 139, 33);
/* oklch */ color: oklch(55.9% 0.168 142.4);
Tailwind
colors: {
  custom: {
    50: '#71ae64',
    500: '#268b21',
    950: '#000000',
  },
}
SCSS
$custom: #268b21;
$custom-light: #71ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#268b21",
  "rgb": {
    "r": 38,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 117.17,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.16813,
    "h": 142.4
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#268B21
secondary
#B44FB9
accent
#43E5DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268B21

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

Preview Lab → · Contrast checker → · Palette generator →

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