#268128#268128

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

Color values

HEX#268128
RGBrgb(38, 129, 40)
HSLhsl(121, 54%, 33%)
HSVhsv(121, 71%, 51%)
CMYKcmyk(70.5%, 0%, 69%, 49.4%)
CIE-LABlab(47.32, -44.76, 39.16)
CIE-LCHlch(47.32, 59.48, 138.82°)
OKLaboklab(53.11% -0.1214 0.0903)
OKLCHoklch(53.11% 0.151 143.4)
XYZxyz(9.0320, 16.2648, 4.6705)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268128 #81267F
analogous
#518126 #268128 #268156
triadic
#268128 #282681 #812826
tetradic
#268128 #265181 #81267F #815626
square
#268128 #265181 #81267F #815626
split-complementary
#268128 #562681 #812651
monochromatic
#0A220B #185219 #268128 #34B037 #55CD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268128#FFFFFF#000000##FFFFFF
##2681281.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)
#84751C
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#0C7D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #268128;
/* rgb */ color: rgb(38, 129, 40);
/* oklch */ color: oklch(53.1% 0.151 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ea666',
    500: '#268128',
    950: '#000000',
  },
}
SCSS
$custom: #268128;
$custom-light: #6ea666;
$custom-dark: #000000;
JSON
{
  "hex": "#268128",
  "rgb": {
    "r": 38,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 121.319,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.15134,
    "h": 143.4
  },
  "luminance": 0.16266
}

Semantic roles & 50–950 ramp

primary
#268128
secondary
#B151AF
accent
#4ADBDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #268128

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

Preview Lab → · Contrast checker → · Palette generator →

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