#268F2D#268F2D

#268F2D is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.165 H 143.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#268F2D
RGBrgb(38, 143, 45)
HSLhsl(124, 58%, 35%)
HSVhsv(124, 73%, 56%)
CMYKcmyk(73.4%, 0%, 68.5%, 43.9%)
CIE-LABlab(52.11, -49.23, 42.16)
CIE-LCHlch(52.11, 64.82, 139.42°)
OKLaboklab(57.09% -0.1333 0.0972)
OKLCHoklch(57.09% 0.165 143.9)
XYZxyz(11.0947, 20.2452, 5.8051)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F2D #8F2688
analogous
#538F26 #268F2D #268F61
triadic
#268F2D #2D268F #8F2D26
tetradic
#268F2D #26538F #8F2688 #8F6126
square
#268F2D #26538F #8F2688 #8F6126
split-complementary
#268F2D #61268F #8F2653
monochromatic
#0C2E0F #195F1E #268F2D #33BF3C #5CD464

Accessibility & contrast

On white

4.16
#268F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#268F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268F2D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268F2D#FFFFFF#000000##000000
##268F2D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #268f2d;
/* rgb */ color: rgb(38, 143, 45);
/* oklch */ color: oklch(57.1% 0.165 143.9);
Tailwind
colors: {
  custom: {
    50: '#71b16b',
    500: '#268f2d',
    950: '#000000',
  },
}
SCSS
$custom: #268f2d;
$custom-light: #71b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#268f2d",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 124,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57093,
    "c": 0.165,
    "h": 143.9
  },
  "luminance": 0.20246
}

Semantic roles & 50–950 ramp

primary
#268F2D
secondary
#B958B2
accent
#47D7E1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #268F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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