#268C1D#268C1D

#268C1D is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.172 H 142.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#268C1D
RGBrgb(38, 140, 29)
HSLhsl(115, 66%, 33%)
HSVhsv(115, 79%, 55%)
CMYKcmyk(72.9%, 0%, 79.3%, 45.1%)
CIE-LABlab(50.99, -49.59, 47.22)
CIE-LCHlch(50.99, 68.48, 136.40°)
OKLaboklab(56.12% -0.1351 0.1057)
OKLCHoklch(56.12% 0.172 142)
XYZxyz(10.3986, 19.2558, 4.3309)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C1D #831D8C
analogous
#5D8C1D #268C1D #1D8C4B
triadic
#268C1D #1D268C #8C1D26
tetradic
#268C1D #1D5D8C #831D8C #8C4B1D
square
#268C1D #1D5D8C #831D8C #8C4B1D
split-complementary
#268C1D #4B1D8C #8C1D5D
monochromatic
#0A2708 #185912 #268C1D #34BF28 #56D94A

Accessibility & contrast

On white

4.33
#268C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#268C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268C1D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268C1D#FFFFFF#000000##000000
##268C1D1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E01
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#078877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268c1d;
/* rgb */ color: rgb(38, 140, 29);
/* oklch */ color: oklch(56.1% 0.172 142.0);
Tailwind
colors: {
  custom: {
    50: '#71af62',
    500: '#268c1d',
    950: '#000000',
  },
}
SCSS
$custom: #268c1d;
$custom-light: #71af62;
$custom-dark: #000000;
JSON
{
  "hex": "#268c1d",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 115.135,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.17151,
    "h": 142
  },
  "luminance": 0.19257
}

Semantic roles & 50–950 ramp

primary
#268C1D
secondary
#B249BC
accent
#3FE9DB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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