#268626#268626

#268626 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.159 H 143.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#268626
RGBrgb(38, 134, 38)
HSLhsl(120, 56%, 34%)
HSVhsv(120, 72%, 53%)
CMYKcmyk(71.6%, 0%, 71.6%, 47.5%)
CIE-LABlab(49.01, -46.76, 41.82)
CIE-LCHlch(49.01, 62.74, 138.19°)
OKLaboklab(54.5% -0.127 0.0957)
OKLCHoklch(54.5% 0.159 143)
XYZxyz(9.6737, 17.6012, 4.7209)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268626 #862686
analogous
#568626 #268626 #268656
triadic
#268626 #262686 #862626
tetradic
#268626 #265686 #862686 #865626
square
#268626 #265686 #862686 #865626
split-complementary
#268626 #562686 #862656
monochromatic
#0B270B #185618 #268626 #34B634 #57CF57

Accessibility & contrast

On white

4.65
#268626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#268626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #268626
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268626#FFFFFF#000000##FFFFFF
##2686261.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897917
Deuteranopia (green-blind)
#7E712F
Tritanopia (blue-blind)
#088273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #268626;
/* rgb */ color: rgb(38, 134, 38);
/* oklch */ color: oklch(54.5% 0.159 143.0);
Tailwind
colors: {
  custom: {
    50: '#6faa66',
    500: '#268626',
    950: '#000000',
  },
}
SCSS
$custom: #268626;
$custom-light: #6faa66;
$custom-dark: #000000;
JSON
{
  "hex": "#268626",
  "rgb": {
    "r": 38,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 120,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.545,
    "c": 0.15896,
    "h": 143
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#268626
secondary
#B454B4
accent
#49DFDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #268626

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

Preview Lab → · Contrast checker → · Palette generator →

#268626 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva