#268C2A#268C2A

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

Color values

HEX#268C2A
RGBrgb(38, 140, 42)
HSLhsl(122, 57%, 35%)
HSVhsv(122, 73%, 55%)
CMYKcmyk(72.9%, 0%, 70%, 45.1%)
CIE-LABlab(51.08, -48.49, 42.33)
CIE-LCHlch(51.08, 64.37, 138.88°)
OKLaboklab(56.23% -0.1314 0.0972)
OKLCHoklch(56.23% 0.163 143.5)
XYZxyz(10.5947, 19.3342, 5.3636)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C2A #8C2688
analogous
#558C26 #268C2A #268C5D
triadic
#268C2A #2A268C #8C2A26
tetradic
#268C2A #26558C #8C2688 #8C5D26
square
#268C2A #26558C #8C2688 #8C5D26
split-complementary
#268C2A #5D268C #8C2655
monochromatic
#0C2C0D #195C1C #268C2A #33BC38 #5AD25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268C2A#FFFFFF#000000##000000
##268C2A1.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)
#8F7F1C
Deuteranopia (green-blind)
#837733
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268c2a;
/* rgb */ color: rgb(38, 140, 42);
/* oklch */ color: oklch(56.2% 0.163 143.5);
Tailwind
colors: {
  custom: {
    50: '#71af69',
    500: '#268c2a',
    950: '#000000',
  },
}
SCSS
$custom: #268c2a;
$custom-light: #71af69;
$custom-dark: #000000;
JSON
{
  "hex": "#268c2a",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 122.353,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.16349,
    "h": 143.5
  },
  "luminance": 0.19335
}

Semantic roles & 50–950 ramp

primary
#268C2A
secondary
#B757B3
accent
#47DBE1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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