#268C2C#268C2C

#268C2C is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.162 H 143.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#268C2C
RGBrgb(38, 140, 44)
HSLhsl(124, 57%, 35%)
HSVhsv(124, 73%, 55%)
CMYKcmyk(72.9%, 0%, 68.6%, 45.1%)
CIE-LABlab(51.09, -48.28, 41.49)
CIE-LCHlch(51.09, 63.66, 139.33°)
OKLaboklab(56.24% -0.1308 0.0957)
OKLCHoklch(56.24% 0.162 143.8)
XYZxyz(10.6314, 19.3489, 5.5568)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C2C #8C2686
analogous
#538C26 #268C2C #268C5F
triadic
#268C2C #2C268C #8C2C26
tetradic
#268C2C #26538C #8C2686 #8C5F26
square
#268C2C #26538C #8C2686 #8C5F26
split-complementary
#268C2C #5F268C #8C2653
monochromatic
#0C2C0E #195C1D #268C2C #33BC3B #5AD261

Accessibility & contrast

On white

4.31
#268C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#268C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268C2C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268C2C#FFFFFF#000000##000000
##268C2C1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268c2c;
/* rgb */ color: rgb(38, 140, 44);
/* oklch */ color: oklch(56.2% 0.162 143.8);
Tailwind
colors: {
  custom: {
    50: '#71af6a',
    500: '#268c2c',
    950: '#000000',
  },
}
SCSS
$custom: #268c2c;
$custom-light: #71af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#268c2c",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 123.529,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.16206,
    "h": 143.8
  },
  "luminance": 0.1935
}

Semantic roles & 50–950 ramp

primary
#268C2C
secondary
#B757B1
accent
#47D8E1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #268C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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