#268D31#268D31

#268D31 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.160 H 144.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#268D31
RGBrgb(38, 141, 49)
HSLhsl(126, 58%, 35%)
HSVhsv(126, 73%, 55%)
CMYKcmyk(73%, 0%, 65.2%, 44.7%)
CIE-LABlab(51.48, -48.09, 39.68)
CIE-LCHlch(51.48, 62.35, 140.47°)
OKLaboklab(56.58% -0.13 0.0924)
OKLCHoklch(56.58% 0.16 144.6)
XYZxyz(10.8779, 19.6824, 6.1309)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268D31 #8D2682
analogous
#4E8D26 #268D31 #268D65
triadic
#268D31 #31268D #8D3126
tetradic
#268D31 #264E8D #8D2682 #8D6526
square
#268D31 #264E8D #8D2682 #8D6526
split-complementary
#268D31 #65268D #8D264E
monochromatic
#0C2D0F #195D20 #268D31 #33BD42 #5BD368

Accessibility & contrast

On white

4.25
#268D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#268D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268D31
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268D31#FFFFFF#000000##000000
##268D311.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#847739
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #268d31;
/* rgb */ color: rgb(38, 141, 49);
/* oklch */ color: oklch(56.6% 0.160 144.6);
Tailwind
colors: {
  custom: {
    50: '#71af6d',
    500: '#268d31',
    950: '#000000',
  },
}
SCSS
$custom: #268d31;
$custom-light: #71af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#268d31",
  "rgb": {
    "r": 38,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 126.408,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56577,
    "c": 0.15952,
    "h": 144.6
  },
  "luminance": 0.19684
}

Semantic roles & 50–950 ramp

primary
#268D31
secondary
#B857AD
accent
#47D0E1
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #268D31

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

Preview Lab → · Contrast checker → · Palette generator →

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