#256A42#256A42

#256A42 is a mid, moderate green. Relative luminance 0.111; OKLCH L 47.0% C 0.095 H 154.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#256A42
RGBrgb(37, 106, 66)
HSLhsl(145, 48%, 28%)
HSVhsv(145, 65%, 42%)
CMYKcmyk(65.1%, 0%, 37.7%, 58.4%)
CIE-LABlab(39.74, -31.67, 16.24)
CIE-LCHlch(39.74, 35.60, 152.85°)
OKLaboklab(46.96% -0.0859 0.0408)
OKLCHoklch(46.96% 0.095 154.6)
XYZxyz(6.8998, 11.0940, 6.9309)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256A42 #6A254D
analogous
#2A6A25 #256A42 #256A64
triadic
#256A42 #42256A #6A4225
tetradic
#256A42 #252A6A #6A254D #6A6425
square
#256A42 #252A6A #6A254D #6A6425
split-complementary
#256A42 #64256A #6A252A
monochromatic
#08170E #153D26 #256A42 #35975E #4AC07B

Accessibility & contrast

On white

6.52
#256A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#256A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256A42
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256A42#FFFFFF#000000##FFFFFF
##256A421.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A623F
Deuteranopia (green-blind)
#615B45
Tritanopia (blue-blind)
#086960
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #256a42;
/* rgb */ color: rgb(37, 106, 66);
/* oklch */ color: oklch(47.0% 0.095 154.6);
Tailwind
colors: {
  custom: {
    50: '#689576',
    500: '#256a42',
    950: '#000000',
  },
}
SCSS
$custom: #256a42;
$custom-light: #689576;
$custom-dark: #000000;
JSON
{
  "hex": "#256a42",
  "rgb": {
    "r": 37,
    "g": 106,
    "b": 66
  },
  "hsl": {
    "h": 145.217,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46958,
    "c": 0.09507,
    "h": 154.6
  },
  "luminance": 0.11095
}

Semantic roles & 50–950 ramp

primary
#256A42
secondary
#9D4E7C
accent
#509FD8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #256A42

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

Preview Lab → · Contrast checker → · Palette generator →

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