#268C31#268C31

#268C31 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.158 H 144.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#268C31
RGBrgb(38, 140, 49)
HSLhsl(126, 57%, 35%)
HSVhsv(126, 73%, 55%)
CMYKcmyk(72.9%, 0%, 65%, 45.1%)
CIE-LABlab(51.14, -47.73, 39.30)
CIE-LCHlch(51.14, 61.83, 140.53°)
OKLaboklab(56.3% -0.1291 0.0916)
OKLCHoklch(56.3% 0.158 144.6)
XYZxyz(10.7311, 19.3888, 6.0820)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C31 #8C2681
analogous
#4E8C26 #268C31 #268C64
triadic
#268C31 #31268C #8C3126
tetradic
#268C31 #264E8C #8C2681 #8C6426
square
#268C31 #264E8C #8C2681 #8C6426
split-complementary
#268C31 #64268C #8C264E
monochromatic
#0C2C0F #195C20 #268C31 #33BC42 #5AD267

Accessibility & contrast

On white

4.31
#268C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#268C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268C31
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268C31#FFFFFF#000000##000000
##268C311.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268c31;
/* rgb */ color: rgb(38, 140, 49);
/* oklch */ color: oklch(56.3% 0.158 144.6);
Tailwind
colors: {
  custom: {
    50: '#70af6d',
    500: '#268c31',
    950: '#000000',
  },
}
SCSS
$custom: #268c31;
$custom-light: #70af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#268c31",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 126.471,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56297,
    "c": 0.15827,
    "h": 144.6
  },
  "luminance": 0.1939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #268C31

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

Preview Lab → · Contrast checker → · Palette generator →

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