#256242#256242

#256242 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.7% C 0.083 H 157.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#256242
RGBrgb(37, 98, 66)
HSLhsl(149, 45%, 26%)
HSVhsv(149, 62%, 38%)
CMYKcmyk(62.2%, 0%, 32.7%, 61.6%)
CIE-LABlab(36.97, -27.98, 12.49)
CIE-LCHlch(36.97, 30.64, 155.95°)
OKLaboklab(44.69% -0.0763 0.0317)
OKLCHoklch(44.69% 0.083 157.5)
XYZxyz(6.1135, 9.5214, 6.6688)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256242 #622545
analogous
#276225 #256242 #256261
triadic
#256242 #422562 #624225
tetradic
#256242 #252762 #622545 #626125
square
#256242 #252762 #622545 #626125
split-complementary
#256242 #612562 #622527
monochromatic
#08160F #143624 #256242 #368E60 #48BA7E

Accessibility & contrast

On white

7.23
#256242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#256242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #256242
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256242#FFFFFF#000000##FFFFFF
##2562421.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615B40
Deuteranopia (green-blind)
#595544
Tritanopia (blue-blind)
#0D615A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #256242;
/* rgb */ color: rgb(37, 98, 66);
/* oklch */ color: oklch(44.7% 0.083 157.5);
Tailwind
colors: {
  custom: {
    50: '#668f76',
    500: '#256242',
    950: '#000000',
  },
}
SCSS
$custom: #256242;
$custom-light: #668f76;
$custom-dark: #000000;
JSON
{
  "hex": "#256242",
  "rgb": {
    "r": 37,
    "g": 98,
    "b": 66
  },
  "hsl": {
    "h": 148.525,
    "s": 45.185,
    "l": 26.471
  },
  "oklch": {
    "l": 0.44688,
    "c": 0.08263,
    "h": 157.5
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#256242
secondary
#954E73
accent
#5397D5
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #256242

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

Preview Lab → · Contrast checker → · Palette generator →

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