#268F2F#268F2F

#268F2F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.164 H 144.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#268F2F
RGBrgb(38, 143, 47)
HSLhsl(125, 58%, 35%)
HSVhsv(125, 73%, 56%)
CMYKcmyk(73.4%, 0%, 67.1%, 43.9%)
CIE-LABlab(52.13, -49.02, 41.31)
CIE-LCHlch(52.13, 64.10, 139.88°)
OKLaboklab(57.11% -0.1326 0.0957)
OKLCHoklch(57.11% 0.164 144.2)
XYZxyz(11.1342, 20.2610, 6.0127)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268F2F #8F2686
analogous
#518F26 #268F2F #268F63
triadic
#268F2F #2F268F #8F2F26
tetradic
#268F2F #26518F #8F2686 #8F6326
square
#268F2F #26518F #8F2686 #8F6326
split-complementary
#268F2F #63268F #8F2651
monochromatic
#0C2E0F #195F1F #268F2F #33BF3F #5CD466

Accessibility & contrast

On white

4.16
#268F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#268F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #268F2F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268F2F#FFFFFF#000000##000000
##268F2F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #268f2f;
/* rgb */ color: rgb(38, 143, 47);
/* oklch */ color: oklch(57.1% 0.164 144.2);
Tailwind
colors: {
  custom: {
    50: '#71b16c',
    500: '#268f2f',
    950: '#000000',
  },
}
SCSS
$custom: #268f2f;
$custom-light: #71b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#268f2f",
  "rgb": {
    "r": 38,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 125.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57113,
    "c": 0.16353,
    "h": 144.2
  },
  "luminance": 0.20262
}

Semantic roles & 50–950 ramp

primary
#268F2F
secondary
#B958B0
accent
#47D4E1
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #268F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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