#268127#268127

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

Color values

HEX#268127
RGBrgb(38, 129, 39)
HSLhsl(121, 54%, 33%)
HSVhsv(121, 71%, 51%)
CMYKcmyk(70.5%, 0%, 69.8%, 49.4%)
CIE-LABlab(47.31, -44.87, 39.59)
CIE-LCHlch(47.31, 59.84, 138.57°)
OKLaboklab(53.1% -0.1218 0.0911)
OKLCHoklch(53.1% 0.152 143.2)
XYZxyz(9.0153, 16.2581, 4.5821)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268127 #812680
analogous
#538126 #268127 #268154
triadic
#268127 #272681 #812726
tetradic
#268127 #265381 #812680 #815426
square
#268127 #265381 #812680 #815426
split-complementary
#268127 #542681 #812653
monochromatic
#0A220A #185219 #268127 #34B035 #55CD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268127#FFFFFF#000000##FFFFFF
##2681271.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)
#84751B
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#0D7D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #268127;
/* rgb */ color: rgb(38, 129, 39);
/* oklch */ color: oklch(53.1% 0.152 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ea666',
    500: '#268127',
    950: '#000000',
  },
}
SCSS
$custom: #268127;
$custom-light: #6ea666;
$custom-dark: #000000;
JSON
{
  "hex": "#268127",
  "rgb": {
    "r": 38,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 120.659,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53096,
    "c": 0.15208,
    "h": 143.2
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#268127
secondary
#B151B0
accent
#4ADCDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #268127

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

Preview Lab → · Contrast checker → · Palette generator →

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