#268C2F#268C2F

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

Color values

HEX#268C2F
RGBrgb(38, 140, 47)
HSLhsl(125, 57%, 35%)
HSVhsv(125, 73%, 55%)
CMYKcmyk(72.9%, 0%, 66.4%, 45.1%)
CIE-LABlab(51.12, -47.96, 40.19)
CIE-LCHlch(51.12, 62.58, 140.03°)
OKLaboklab(56.28% -0.1298 0.0933)
OKLCHoklch(56.28% 0.16 144.3)
XYZxyz(10.6898, 19.3723, 5.8646)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C2F #8C2683
analogous
#508C26 #268C2F #268C62
triadic
#268C2F #2F268C #8C2F26
tetradic
#268C2F #26508C #8C2683 #8C6226
square
#268C2F #26508C #8C2683 #8C6226
split-complementary
#268C2F #62268C #8C2650
monochromatic
#0C2C0F #195C1F #268C2F #33BC3F #5AD265

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268C2F#FFFFFF#000000##000000
##268C2F1.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)
#8F7F23
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #268c2f;
/* rgb */ color: rgb(38, 140, 47);
/* oklch */ color: oklch(56.3% 0.160 144.3);
Tailwind
colors: {
  custom: {
    50: '#70af6c',
    500: '#268c2f',
    950: '#000000',
  },
}
SCSS
$custom: #268c2f;
$custom-light: #70af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#268c2f",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 125.294,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56275,
    "c": 0.15982,
    "h": 144.3
  },
  "luminance": 0.19373
}

Semantic roles & 50–950 ramp

primary
#268C2F
secondary
#B757AF
accent
#47D3E1
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #268C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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