#268228#268228

#268228 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.153 H 143.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#268228
RGBrgb(38, 130, 40)
HSLhsl(121, 55%, 33%)
HSVhsv(121, 71%, 51%)
CMYKcmyk(70.8%, 0%, 69.2%, 49%)
CIE-LABlab(47.66, -45.13, 39.53)
CIE-LCHlch(47.66, 59.99, 138.78°)
OKLaboklab(53.39% -0.1224 0.0911)
OKLCHoklch(53.39% 0.153 143.4)
XYZxyz(9.1644, 16.5296, 4.7146)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268228 #822680
analogous
#528226 #268228 #268256
triadic
#268228 #282682 #822826
tetradic
#268228 #265282 #822680 #825626
square
#268228 #265282 #822680 #825626
split-complementary
#268228 #562682 #822652
monochromatic
#0A230B #185319 #268228 #34B137 #55CD58

Accessibility & contrast

On white

4.88
#268228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#268228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #268228
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##268228#FFFFFF#000000##FFFFFF
##2682281.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761C
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#0B7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #268228;
/* rgb */ color: rgb(38, 130, 40);
/* oklch */ color: oklch(53.4% 0.153 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ea767',
    500: '#268228',
    950: '#000000',
  },
}
SCSS
$custom: #268228;
$custom-light: #6ea767;
$custom-dark: #000000;
JSON
{
  "hex": "#268228",
  "rgb": {
    "r": 38,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 121.304,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.1526,
    "h": 143.4
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#268228
secondary
#B252B0
accent
#4ADBDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #268228

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

Preview Lab → · Contrast checker → · Palette generator →

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