#268B40#268B40

#268B40 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.144 H 148.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#268B40
RGBrgb(38, 139, 64)
HSLhsl(135, 57%, 35%)
HSVhsv(135, 73%, 55%)
CMYKcmyk(72.7%, 0%, 54%, 45.5%)
CIE-LABlab(50.97, -45.34, 31.75)
CIE-LCHlch(50.97, 55.35, 145.00°)
OKLaboklab(56.22% -0.1221 0.0764)
OKLCHoklch(56.22% 0.144 148)
XYZxyz(10.9565, 19.2463, 7.9870)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268B40 #8B2671
analogous
#3E8B26 #268B40 #268B73
triadic
#268B40 #40268B #8B4026
tetradic
#268B40 #263E8B #8B2671 #8B7326
square
#268B40 #263E8B #8B2671 #8B7326
split-complementary
#268B40 #73268B #8B263E
monochromatic
#0C2B14 #195B2A #268B40 #33BB56 #5AD279

Accessibility & contrast

On white

4.33
#268B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#268B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268B40
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268B40#FFFFFF#000000##000000
##268B401.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E39
Deuteranopia (green-blind)
#807646
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268b40;
/* rgb */ color: rgb(38, 139, 64);
/* oklch */ color: oklch(56.2% 0.144 148.0);
Tailwind
colors: {
  custom: {
    50: '#6fae76',
    500: '#268b40',
    950: '#000000',
  },
}
SCSS
$custom: #268b40;
$custom-light: #6fae76;
$custom-dark: #000000;
JSON
{
  "hex": "#268b40",
  "rgb": {
    "r": 38,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 135.446,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56216,
    "c": 0.14405,
    "h": 148
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#268B40
secondary
#B7569E
accent
#47B9E0
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #268B40

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

Preview Lab → · Contrast checker → · Palette generator →

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