#268F1F#268F1F

#268F1F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.174 H 142.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#268F1F
RGBrgb(38, 143, 31)
HSLhsl(116, 64%, 34%)
HSVhsv(116, 78%, 56%)
CMYKcmyk(73.4%, 0%, 78.3%, 43.9%)
CIE-LABlab(52.01, -50.47, 47.54)
CIE-LCHlch(52.01, 69.33, 136.71°)
OKLaboklab(56.98% -0.1373 0.1066)
OKLCHoklch(56.98% 0.174 142.2)
XYZxyz(10.8685, 20.1547, 4.6135)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F1F #881F8F
analogous
#5E8F1F #268F1F #1F8F50
triadic
#268F1F #1F268F #8F1F26
tetradic
#268F1F #1F5E8F #881F8F #8F501F
square
#268F1F #1F5E8F #881F8F #8F501F
split-complementary
#268F1F #501F8F #8F1F5E
monochromatic
#0B2A09 #195D14 #268F1F #33C12A #58D94F

Accessibility & contrast

On white

4.17
#268F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#268F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268F1F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268F1F#FFFFFF#000000##000000
##268F1F1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#038B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #268f1f;
/* rgb */ color: rgb(38, 143, 31);
/* oklch */ color: oklch(57.0% 0.174 142.2);
Tailwind
colors: {
  custom: {
    50: '#72b163',
    500: '#268f1f',
    950: '#000000',
  },
}
SCSS
$custom: #268f1f;
$custom-light: #72b163;
$custom-dark: #000000;
JSON
{
  "hex": "#268f1f",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 116.25,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56976,
    "c": 0.17389,
    "h": 142.2
  },
  "luminance": 0.20156
}

Semantic roles & 50–950 ramp

primary
#268F1F
secondary
#B54EBC
accent
#40E7DD
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #268F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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