#268D1F#268D1F

#268D1F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.172 H 142.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#268D1F
RGBrgb(38, 141, 31)
HSLhsl(116, 64%, 34%)
HSVhsv(116, 78%, 55%)
CMYKcmyk(73%, 0%, 78%, 44.7%)
CIE-LABlab(51.34, -49.79, 46.87)
CIE-LCHlch(51.34, 68.38, 136.73°)
OKLaboklab(56.42% -0.1355 0.1053)
OKLCHoklch(56.42% 0.172 142.2)
XYZxyz(10.5709, 19.5596, 4.5143)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268D1F #861F8D
analogous
#5D8D1F #268D1F #1F8D4F
triadic
#268D1F #1F268D #8D1F26
tetradic
#268D1F #1F5D8D #861F8D #8D4F1F
square
#268D1F #1F5D8D #861F8D #8D4F1F
split-complementary
#268D1F #4F1F8D #8D1F5D
monochromatic
#0B2909 #185B14 #268D1F #34BF2A #57D84E

Accessibility & contrast

On white

4.28
#268D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#268D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268D1F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268D1F#FFFFFF#000000##000000
##268D1F1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#058978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268d1f;
/* rgb */ color: rgb(38, 141, 31);
/* oklch */ color: oklch(56.4% 0.172 142.2);
Tailwind
colors: {
  custom: {
    50: '#71af63',
    500: '#268d1f',
    950: '#000000',
  },
}
SCSS
$custom: #268d1f;
$custom-light: #71af63;
$custom-dark: #000000;
JSON
{
  "hex": "#268d1f",
  "rgb": {
    "r": 38,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 116.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.1716,
    "h": 142.2
  },
  "luminance": 0.19561
}

Semantic roles & 50–950 ramp

primary
#268D1F
secondary
#B44DBB
accent
#41E7DC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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