#256C28#256C28

#256C28 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.124 H 143.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#256C28
RGBrgb(37, 108, 40)
HSLhsl(123, 49%, 28%)
HSVhsv(123, 66%, 42%)
CMYKcmyk(65.7%, 0%, 63%, 57.6%)
CIE-LABlab(40.03, -36.97, 31.02)
CIE-LCHlch(40.03, 48.26, 140.00°)
OKLaboklab(47.07% -0.1003 0.073)
OKLCHoklch(47.07% 0.124 143.9)
XYZxyz(6.5081, 11.2710, 3.8396)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256C28 #6C2569
analogous
#456C25 #256C28 #256C4B
triadic
#256C28 #28256C #6C2825
tetradic
#256C28 #25456C #6C2569 #6C4B25
square
#256C28 #25456C #6C2569 #6C4B25
split-complementary
#256C28 #4B256C #6C2545
monochromatic
#081708 #153E17 #256C28 #359A39 #4AC14F

Accessibility & contrast

On white

6.45
#256C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#256C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256C28
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256C28#FFFFFF#000000##FFFFFF
##256C281.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6221
Deuteranopia (green-blind)
#655C2E
Tritanopia (blue-blind)
#16695D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #256c28;
/* rgb */ color: rgb(37, 108, 40);
/* oklch */ color: oklch(47.1% 0.124 143.9);
Tailwind
colors: {
  custom: {
    50: '#699764',
    500: '#256c28',
    950: '#000000',
  },
}
SCSS
$custom: #256c28;
$custom-light: #699764;
$custom-dark: #000000;
JSON
{
  "hex": "#256c28",
  "rgb": {
    "r": 37,
    "g": 108,
    "b": 40
  },
  "hsl": {
    "h": 122.535,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4707,
    "c": 0.12401,
    "h": 143.9
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#256C28
secondary
#9F4E9C
accent
#4FD3D9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #256C28

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

Preview Lab → · Contrast checker → · Palette generator →

#256C28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva