#268C1F#268C1F

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

Color values

HEX#268C1F
RGBrgb(38, 140, 31)
HSLhsl(116, 64%, 34%)
HSVhsv(116, 78%, 55%)
CMYKcmyk(72.9%, 0%, 77.9%, 45.1%)
CIE-LABlab(51.00, -49.45, 46.54)
CIE-LCHlch(51.00, 67.90, 136.73°)
OKLaboklab(56.13% -0.1346 0.1046)
OKLCHoklch(56.13% 0.17 142.2)
XYZxyz(10.4241, 19.2660, 4.4654)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268C1F #851F8C
analogous
#5C8C1F #268C1F #1F8C4E
triadic
#268C1F #1F268C #8C1F26
tetradic
#268C1F #1F5C8C #851F8C #8C4E1F
square
#268C1F #1F5C8C #851F8C #8C4E1F
split-complementary
#268C1F #4E1F8C #8C1F5C
monochromatic
#0B2809 #185A14 #268C1F #34BE2A #57D84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268C1F#FFFFFF#000000##000000
##268C1F1.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)
#8F7E06
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#068877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #268c1f;
/* rgb */ color: rgb(38, 140, 31);
/* oklch */ color: oklch(56.1% 0.170 142.2);
Tailwind
colors: {
  custom: {
    50: '#71af63',
    500: '#268c1f',
    950: '#000000',
  },
}
SCSS
$custom: #268c1f;
$custom-light: #71af63;
$custom-dark: #000000;
JSON
{
  "hex": "#268c1f",
  "rgb": {
    "r": 38,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 116.147,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56134,
    "c": 0.17043,
    "h": 142.2
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#268C1F
secondary
#B34CBB
accent
#41E7DC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #268C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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