#268F31#268F31

#268F31 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.162 H 144.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#268F31
RGBrgb(38, 143, 49)
HSLhsl(126, 58%, 35%)
HSVhsv(126, 73%, 56%)
CMYKcmyk(73.4%, 0%, 65.7%, 43.9%)
CIE-LABlab(52.15, -48.80, 40.43)
CIE-LCHlch(52.15, 63.37, 140.36°)
OKLaboklab(57.14% -0.1319 0.094)
OKLCHoklch(57.14% 0.162 144.5)
XYZxyz(11.1754, 20.2775, 6.2301)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F31 #8F2684
analogous
#4F8F26 #268F31 #268F65
triadic
#268F31 #31268F #8F3126
tetradic
#268F31 #264F8F #8F2684 #8F6526
square
#268F31 #264F8F #8F2684 #8F6526
split-complementary
#268F31 #65268F #8F264F
monochromatic
#0C2E10 #195F20 #268F31 #33BF42 #5CD468

Accessibility & contrast

On white

4.15
#268F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#268F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268F31
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268F31#FFFFFF#000000##000000
##268F311.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #268f31;
/* rgb */ color: rgb(38, 143, 49);
/* oklch */ color: oklch(57.1% 0.162 144.5);
Tailwind
colors: {
  custom: {
    50: '#71b16d',
    500: '#268f31',
    950: '#000000',
  },
}
SCSS
$custom: #268f31;
$custom-light: #71b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#268f31",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 126.286,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.16201,
    "h": 144.5
  },
  "luminance": 0.20279
}

Semantic roles & 50–950 ramp

primary
#268F31
secondary
#B958AE
accent
#47D1E1
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #268F31

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

Preview Lab → · Contrast checker → · Palette generator →

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