#268D1B#268D1B

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

Color values

HEX#268D1B
RGBrgb(38, 141, 27)
HSLhsl(114, 68%, 33%)
HSVhsv(114, 81%, 55%)
CMYKcmyk(73%, 0%, 80.9%, 44.7%)
CIE-LABlab(51.31, -50.07, 48.19)
CIE-LCHlch(51.31, 69.49, 136.09°)
OKLaboklab(56.39% -0.1365 0.1074)
OKLCHoklch(56.39% 0.174 141.8)
XYZxyz(10.5214, 19.5398, 4.2538)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268D1B #821B8D
analogous
#5F8D1B #268D1B #1B8D49
triadic
#268D1B #1B268D #8D1B26
tetradic
#268D1B #1B5F8D #821B8D #8D491B
square
#268D1B #1B5F8D #821B8D #8D491B
split-complementary
#268D1B #491B8D #8D1B5F
monochromatic
#0A2607 #185A11 #268D1B #34C025 #55DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268D1B#FFFFFF#000000##000000
##268D1B1.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)
#917F00
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#068878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268d1b;
/* rgb */ color: rgb(38, 141, 27);
/* oklch */ color: oklch(56.4% 0.174 141.8);
Tailwind
colors: {
  custom: {
    50: '#72af61',
    500: '#268d1b',
    950: '#000000',
  },
}
SCSS
$custom: #268d1b;
$custom-light: #72af61;
$custom-dark: #000000;
JSON
{
  "hex": "#268d1b",
  "rgb": {
    "r": 38,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 114.211,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.17367,
    "h": 141.8
  },
  "luminance": 0.19541
}

Semantic roles & 50–950 ramp

primary
#268D1B
secondary
#B246BD
accent
#3DEBDA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #268D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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