#268E1F#268E1F

#268E1F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.173 H 142.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#268E1F
RGBrgb(38, 142, 31)
HSLhsl(116, 64%, 34%)
HSVhsv(116, 78%, 56%)
CMYKcmyk(73.2%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.67, -50.13, 47.21)
CIE-LCHlch(51.67, 68.86, 136.72°)
OKLaboklab(56.7% -0.1364 0.106)
OKLCHoklch(56.7% 0.173 142.2)
XYZxyz(10.7190, 19.8558, 4.5637)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268E1F #871F8E
analogous
#5E8E1F #268E1F #1F8E50
triadic
#268E1F #1F268E #8E1F26
tetradic
#268E1F #1F5E8E #871F8E #8E501F
square
#268E1F #1F5E8E #871F8E #8E501F
split-complementary
#268E1F #501F8E #8E1F5E
monochromatic
#0B2A09 #195C14 #268E1F #33C02A #58D94F

Accessibility & contrast

On white

4.22
#268E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#268E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268E1F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268E1F#FFFFFF#000000##000000
##268E1F1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918004
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#048A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #268e1f;
/* rgb */ color: rgb(38, 142, 31);
/* oklch */ color: oklch(56.7% 0.173 142.2);
Tailwind
colors: {
  custom: {
    50: '#72b063',
    500: '#268e1f',
    950: '#000000',
  },
}
SCSS
$custom: #268e1f;
$custom-light: #72b063;
$custom-dark: #000000;
JSON
{
  "hex": "#268e1f",
  "rgb": {
    "r": 38,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 116.216,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56696,
    "c": 0.17275,
    "h": 142.2
  },
  "luminance": 0.19857
}

Semantic roles & 50–950 ramp

primary
#268E1F
secondary
#B54DBB
accent
#41E7DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #268E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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