#268B28#268B28

#268B28 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.164 H 143.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#268B28
RGBrgb(38, 139, 40)
HSLhsl(121, 57%, 35%)
HSVhsv(121, 73%, 55%)
CMYKcmyk(72.7%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.72, -48.33, 42.80)
CIE-LCHlch(50.72, 64.56, 138.48°)
OKLaboklab(55.93% -0.1311 0.098)
OKLCHoklch(55.93% 0.164 143.2)
XYZxyz(10.4143, 19.0294, 5.1313)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268B28 #8B2689
analogous
#578B26 #268B28 #268B5B
triadic
#268B28 #28268B #8B2826
tetradic
#268B28 #26578B #8B2689 #8B5B26
square
#268B28 #26578B #8B2689 #8B5B26
split-complementary
#268B28 #5B268B #8B2657
monochromatic
#0C2B0C #195B1A #268B28 #33BB36 #5AD25C

Accessibility & contrast

On white

4.37
#268B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#268B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268B28
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268B28#FFFFFF#000000##000000
##268B281.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E19
Deuteranopia (green-blind)
#827632
Tritanopia (blue-blind)
#028777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268b28;
/* rgb */ color: rgb(38, 139, 40);
/* oklch */ color: oklch(55.9% 0.164 143.2);
Tailwind
colors: {
  custom: {
    50: '#70ae68',
    500: '#268b28',
    950: '#000000',
  },
}
SCSS
$custom: #268b28;
$custom-light: #70ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#268b28",
  "rgb": {
    "r": 38,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 121.188,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55925,
    "c": 0.16367,
    "h": 143.2
  },
  "luminance": 0.19031
}

Semantic roles & 50–950 ramp

primary
#268B28
secondary
#B756B5
accent
#47DDE0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268B28

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

Preview Lab → · Contrast checker → · Palette generator →

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