#256142#256142

#256142 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.4% C 0.081 H 157.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#256142
RGBrgb(37, 97, 66)
HSLhsl(149, 45%, 26%)
HSVhsv(149, 62%, 38%)
CMYKcmyk(61.9%, 0%, 32%, 62%)
CIE-LABlab(36.62, -27.51, 12.01)
CIE-LCHlch(36.62, 30.02, 156.41°)
OKLaboklab(44.4% -0.0751 0.0305)
OKLCHoklch(44.4% 0.081 157.9)
XYZxyz(6.0205, 9.3355, 6.6379)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256142 #612544
analogous
#266125 #256142 #256160
triadic
#256142 #422561 #614225
tetradic
#256142 #252661 #612544 #616025
square
#256142 #252661 #612544 #616025
split-complementary
#256142 #602561 #612526
monochromatic
#08160F #143524 #256142 #368D60 #47B97E

Accessibility & contrast

On white

7.32
#256142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#256142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #256142
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256142#FFFFFF#000000##FFFFFF
##2561421.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A40
Deuteranopia (green-blind)
#585444
Tritanopia (blue-blind)
#0E6059
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #256142;
/* rgb */ color: rgb(37, 97, 66);
/* oklch */ color: oklch(44.4% 0.081 157.9);
Tailwind
colors: {
  custom: {
    50: '#668e76',
    500: '#256142',
    950: '#000000',
  },
}
SCSS
$custom: #256142;
$custom-light: #668e76;
$custom-dark: #000000;
JSON
{
  "hex": "#256142",
  "rgb": {
    "r": 37,
    "g": 97,
    "b": 66
  },
  "hsl": {
    "h": 149,
    "s": 44.776,
    "l": 26.275
  },
  "oklch": {
    "l": 0.44404,
    "c": 0.08105,
    "h": 157.9
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#256142
secondary
#944E72
accent
#5396D4
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #256142

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

Preview Lab → · Contrast checker → · Palette generator →

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