#268F28#268F28

#268F28 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.168 H 143.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#268F28
RGBrgb(38, 143, 40)
HSLhsl(121, 58%, 35%)
HSVhsv(121, 73%, 56%)
CMYKcmyk(73.4%, 0%, 72%, 43.9%)
CIE-LABlab(52.07, -49.72, 44.21)
CIE-LCHlch(52.07, 66.54, 138.36°)
OKLaboklab(57.05% -0.1349 0.1009)
OKLCHoklch(57.05% 0.168 143.2)
XYZxyz(11.0041, 20.2090, 5.3279)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F28 #8F268D
analogous
#588F26 #268F28 #268F5C
triadic
#268F28 #28268F #8F2826
tetradic
#268F28 #26588F #8F268D #8F5C26
square
#268F28 #26588F #8F268D #8F5C26
split-complementary
#268F28 #5C268F #8F2658
monochromatic
#0C2E0D #195F1A #268F28 #33BF36 #5CD45E

Accessibility & contrast

On white

4.17
#268F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#268F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268F28
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268F28#FFFFFF#000000##000000
##268F281.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #268f28;
/* rgb */ color: rgb(38, 143, 40);
/* oklch */ color: oklch(57.0% 0.168 143.2);
Tailwind
colors: {
  custom: {
    50: '#71b168',
    500: '#268f28',
    950: '#000000',
  },
}
SCSS
$custom: #268f28;
$custom-light: #71b168;
$custom-dark: #000000;
JSON
{
  "hex": "#268f28",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 121.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57046,
    "c": 0.16847,
    "h": 143.2
  },
  "luminance": 0.2021
}

Semantic roles & 50–950 ramp

primary
#268F28
secondary
#B958B7
accent
#47DEE1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #268F28

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

Preview Lab → · Contrast checker → · Palette generator →

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