#268F42#268F42

#268F42 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.148 H 148.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#268F42
RGBrgb(38, 143, 66)
HSLhsl(136, 58%, 35%)
HSVhsv(136, 73%, 56%)
CMYKcmyk(73.4%, 0%, 53.8%, 43.9%)
CIE-LABlab(52.34, -46.53, 32.39)
CIE-LCHlch(52.34, 56.69, 145.16°)
OKLaboklab(57.36% -0.1253 0.078)
OKLCHoklch(57.36% 0.148 148.1)
XYZxyz(11.6043, 20.4490, 8.4887)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F42 #8F2673
analogous
#3E8F26 #268F42 #268F76
triadic
#268F42 #42268F #8F4226
tetradic
#268F42 #263E8F #8F2673 #8F7626
square
#268F42 #263E8F #8F2673 #8F7626
split-complementary
#268F42 #76268F #8F263E
monochromatic
#0C2E15 #195F2C #268F42 #33BF58 #5CD47C

Accessibility & contrast

On white

4.13
#268F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#268F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268F42
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268F42#FFFFFF#000000##000000
##268F421.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823B
Deuteranopia (green-blind)
#847948
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #268f42;
/* rgb */ color: rgb(38, 143, 66);
/* oklch */ color: oklch(57.4% 0.148 148.1);
Tailwind
colors: {
  custom: {
    50: '#70b178',
    500: '#268f42',
    950: '#000000',
  },
}
SCSS
$custom: #268f42;
$custom-light: #70b178;
$custom-dark: #000000;
JSON
{
  "hex": "#268f42",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 66
  },
  "hsl": {
    "h": 136,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57355,
    "c": 0.14755,
    "h": 148.1
  },
  "luminance": 0.2045
}

Semantic roles & 50–950 ramp

primary
#268F42
secondary
#B9589F
accent
#47B8E1
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #268F42

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

Preview Lab → · Contrast checker → · Palette generator →

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