#268126#268126

#268126 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.153 H 143.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#268126
RGBrgb(38, 129, 38)
HSLhsl(120, 54%, 33%)
HSVhsv(120, 71%, 51%)
CMYKcmyk(70.5%, 0%, 70.5%, 49.4%)
CIE-LABlab(47.30, -44.97, 40.02)
CIE-LCHlch(47.30, 60.20, 138.34°)
OKLaboklab(53.09% -0.1221 0.0919)
OKLCHoklch(53.09% 0.153 143)
XYZxyz(8.9989, 16.2516, 4.4960)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268126 #812681
analogous
#538126 #268126 #268153
triadic
#268126 #262681 #812626
tetradic
#268126 #265381 #812681 #815326
square
#268126 #265381 #812681 #815326
split-complementary
#268126 #532681 #812653
monochromatic
#0A220A #185218 #268126 #34B034 #55CD55

Accessibility & contrast

On white

4.94
#268126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#268126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268126
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268126#FFFFFF#000000##FFFFFF
##2681261.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#0D7D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #268126;
/* rgb */ color: rgb(38, 129, 38);
/* oklch */ color: oklch(53.1% 0.153 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ea665',
    500: '#268126',
    950: '#000000',
  },
}
SCSS
$custom: #268126;
$custom-light: #6ea665;
$custom-dark: #000000;
JSON
{
  "hex": "#268126",
  "rgb": {
    "r": 38,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 120,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53086,
    "c": 0.1528,
    "h": 143
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

primary
#268126
secondary
#B151B1
accent
#4ADEDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #268126

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

Preview Lab → · Contrast checker → · Palette generator →

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