#268B31#268B31

#268B31 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.157 H 144.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#268B31
RGBrgb(38, 139, 49)
HSLhsl(127, 57%, 35%)
HSVhsv(127, 73%, 55%)
CMYKcmyk(72.7%, 0%, 64.7%, 45.5%)
CIE-LABlab(50.80, -47.37, 38.93)
CIE-LCHlch(50.80, 61.32, 140.59°)
OKLaboklab(56.02% -0.1281 0.0908)
OKLCHoklch(56.02% 0.157 144.7)
XYZxyz(10.5856, 19.0979, 6.0335)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268B31 #8B2680
analogous
#4D8B26 #268B31 #268B64
triadic
#268B31 #31268B #8B3126
tetradic
#268B31 #264D8B #8B2680 #8B6426
square
#268B31 #264D8B #8B2680 #8B6426
split-complementary
#268B31 #64268B #8B264D
monochromatic
#0C2B0F #195B20 #268B31 #33BB42 #5AD267

Accessibility & contrast

On white

4.36
#268B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#268B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268B31
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268B31#FFFFFF#000000##000000
##268B311.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E26
Deuteranopia (green-blind)
#827639
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268b31;
/* rgb */ color: rgb(38, 139, 49);
/* oklch */ color: oklch(56.0% 0.157 144.7);
Tailwind
colors: {
  custom: {
    50: '#70ae6d',
    500: '#268b31',
    950: '#000000',
  },
}
SCSS
$custom: #268b31;
$custom-light: #70ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#268b31",
  "rgb": {
    "r": 38,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 126.535,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56017,
    "c": 0.15701,
    "h": 144.7
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

primary
#268B31
secondary
#B756AC
accent
#47D0E0
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #268B31

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

Preview Lab → · Contrast checker → · Palette generator →

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