#268C1B#268C1B

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

Color values

HEX#268C1B
RGBrgb(38, 140, 27)
HSLhsl(114, 68%, 33%)
HSVhsv(114, 81%, 55%)
CMYKcmyk(72.9%, 0%, 80.7%, 45.1%)
CIE-LABlab(50.97, -49.73, 47.87)
CIE-LCHlch(50.97, 69.02, 136.09°)
OKLaboklab(56.11% -0.1355 0.1068)
OKLCHoklch(56.11% 0.173 141.8)
XYZxyz(10.3747, 19.2462, 4.2048)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C1B #811B8C
analogous
#5F8C1B #268C1B #1B8C48
triadic
#268C1B #1B268C #8C1B26
tetradic
#268C1B #1B5F8C #811B8C #8C481B
square
#268C1B #1B5F8C #811B8C #8C481B
split-complementary
#268C1B #481B8C #8C1B5F
monochromatic
#0A2507 #185911 #268C1B #34BF25 #55DB46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268C1B#FFFFFF#000000##000000
##268C1B1.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)
#8F7E00
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#078777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268c1b;
/* rgb */ color: rgb(38, 140, 27);
/* oklch */ color: oklch(56.1% 0.173 141.8);
Tailwind
colors: {
  custom: {
    50: '#71af61',
    500: '#268c1b',
    950: '#000000',
  },
}
SCSS
$custom: #268c1b;
$custom-light: #71af61;
$custom-dark: #000000;
JSON
{
  "hex": "#268c1b",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 114.159,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56107,
    "c": 0.17254,
    "h": 141.8
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #268C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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