#256C42#256C42

#256C42 is a mid, moderate green. Relative luminance 0.115; OKLCH L 47.5% C 0.098 H 154.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#256C42
RGBrgb(37, 108, 66)
HSLhsl(145, 49%, 28%)
HSVhsv(145, 66%, 42%)
CMYKcmyk(65.7%, 0%, 38.9%, 57.6%)
CIE-LABlab(40.43, -32.57, 17.17)
CIE-LCHlch(40.43, 36.81, 152.20°)
OKLaboklab(47.52% -0.0882 0.043)
OKLCHoklch(47.52% 0.098 154)
XYZxyz(7.1083, 11.5111, 7.0005)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256C42 #6C254F
analogous
#2B6C25 #256C42 #256C65
triadic
#256C42 #42256C #6C4225
tetradic
#256C42 #252B6C #6C254F #6C6525
square
#256C42 #252B6C #6C254F #6C6525
split-complementary
#256C42 #65256C #6C252B
monochromatic
#08170E #153E26 #256C42 #359A5E #4AC17B

Accessibility & contrast

On white

6.36
#256C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#256C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256C42
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256C42#FFFFFF#000000##FFFFFF
##256C421.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C633F
Deuteranopia (green-blind)
#625D45
Tritanopia (blue-blind)
#076B61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #256c42;
/* rgb */ color: rgb(37, 108, 66);
/* oklch */ color: oklch(47.5% 0.098 154.0);
Tailwind
colors: {
  custom: {
    50: '#689776',
    500: '#256c42',
    950: '#000000',
  },
}
SCSS
$custom: #256c42;
$custom-light: #689776;
$custom-dark: #000000;
JSON
{
  "hex": "#256c42",
  "rgb": {
    "r": 37,
    "g": 108,
    "b": 66
  },
  "hsl": {
    "h": 144.507,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47524,
    "c": 0.09812,
    "h": 154
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#256C42
secondary
#9F4E7E
accent
#4FA0D9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #256C42

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

Preview Lab → · Contrast checker → · Palette generator →

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