#268240#268240

#268240 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.132 H 148.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#268240
RGBrgb(38, 130, 64)
HSLhsl(137, 55%, 33%)
HSVhsv(137, 71%, 51%)
CMYKcmyk(70.8%, 0%, 50.8%, 49%)
CIE-LABlab(47.94, -41.89, 28.00)
CIE-LCHlch(47.94, 50.38, 146.24°)
OKLaboklab(53.71% -0.1128 0.068)
OKLCHoklch(53.71% 0.132 148.9)
XYZxyz(9.7066, 16.7464, 7.5703)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268240 #822668
analogous
#3A8226 #268240 #26826E
triadic
#268240 #402682 #824026
tetradic
#268240 #263A82 #822668 #826E26
square
#268240 #263A82 #822668 #826E26
split-complementary
#268240 #6E2682 #82263A
monochromatic
#0A2311 #185329 #268240 #34B157 #55CD77

Accessibility & contrast

On white

4.83
#268240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#268240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268240
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268240#FFFFFF#000000##FFFFFF
##2682401.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773B
Deuteranopia (green-blind)
#786F45
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #268240;
/* rgb */ color: rgb(38, 130, 64);
/* oklch */ color: oklch(53.7% 0.132 148.9);
Tailwind
colors: {
  custom: {
    50: '#6da776',
    500: '#268240',
    950: '#000000',
  },
}
SCSS
$custom: #268240;
$custom-light: #6da776;
$custom-dark: #000000;
JSON
{
  "hex": "#268240",
  "rgb": {
    "r": 38,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 136.957,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.13177,
    "h": 148.9
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

primary
#268240
secondary
#B25297
accent
#4AB4DE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #268240

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

Preview Lab → · Contrast checker → · Palette generator →

#268240 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva