#268F27#268F27

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

Color values

HEX#268F27
RGBrgb(38, 143, 39)
HSLhsl(121, 58%, 35%)
HSVhsv(121, 73%, 56%)
CMYKcmyk(73.4%, 0%, 72.7%, 43.9%)
CIE-LABlab(52.07, -49.82, 44.61)
CIE-LCHlch(52.07, 66.87, 138.16°)
OKLaboklab(57.04% -0.1352 0.1016)
OKLCHoklch(57.04% 0.169 143.1)
XYZxyz(10.9873, 20.2023, 5.2394)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F27 #8F268E
analogous
#5A8F26 #268F27 #268F5B
triadic
#268F27 #27268F #8F2726
tetradic
#268F27 #265A8F #8F268E #8F5B26
square
#268F27 #265A8F #8F268E #8F5B26
split-complementary
#268F27 #5B268F #8F265A
monochromatic
#0C2E0D #195F1A #268F27 #33BF34 #5CD45D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268F27#FFFFFF#000000##000000
##268F271.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)
#928116
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #268f27;
/* rgb */ color: rgb(38, 143, 39);
/* oklch */ color: oklch(57.0% 0.169 143.1);
Tailwind
colors: {
  custom: {
    50: '#71b168',
    500: '#268f27',
    950: '#000000',
  },
}
SCSS
$custom: #268f27;
$custom-light: #71b168;
$custom-dark: #000000;
JSON
{
  "hex": "#268f27",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 120.571,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.16912,
    "h": 143.1
  },
  "luminance": 0.20203
}

Semantic roles & 50–950 ramp

primary
#268F27
secondary
#B958B8
accent
#47E0E1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #268F27

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

Preview Lab → · Contrast checker → · Palette generator →

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