#268428#268428

#268428 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.155 H 143.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#268428
RGBrgb(38, 132, 40)
HSLhsl(121, 55%, 33%)
HSVhsv(121, 71%, 52%)
CMYKcmyk(71.2%, 0%, 69.7%, 48.2%)
CIE-LABlab(48.34, -45.85, 40.27)
CIE-LCHlch(48.34, 61.02, 138.71°)
OKLaboklab(53.95% -0.1244 0.0926)
OKLCHoklch(53.95% 0.155 143.3)
XYZxyz(9.4330, 17.0668, 4.8042)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268428 #842682
analogous
#538426 #268428 #268457
triadic
#268428 #282684 #842826
tetradic
#268428 #265384 #842682 #845726
square
#268428 #265384 #842682 #845726
split-complementary
#268428 #572684 #842653
monochromatic
#0B250B #18541A #268428 #34B436 #56CE59

Accessibility & contrast

On white

4.76
#268428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#268428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268428
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268428#FFFFFF#000000##FFFFFF
##2684281.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771B
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#098071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #268428;
/* rgb */ color: rgb(38, 132, 40);
/* oklch */ color: oklch(54.0% 0.155 143.3);
Tailwind
colors: {
  custom: {
    50: '#6fa967',
    500: '#268428',
    950: '#000000',
  },
}
SCSS
$custom: #268428;
$custom-light: #6fa967;
$custom-dark: #000000;
JSON
{
  "hex": "#268428",
  "rgb": {
    "r": 38,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 121.277,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.1551,
    "h": 143.3
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

primary
#268428
secondary
#B353B1
accent
#49DBDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #268428

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

Preview Lab → · Contrast checker → · Palette generator →

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