#256F31#256F31

#256F31 is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.1% C 0.120 H 146.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#256F31
RGBrgb(37, 111, 49)
HSLhsl(130, 50%, 29%)
HSVhsv(130, 67%, 44%)
CMYKcmyk(66.7%, 0%, 55.9%, 56.5%)
CIE-LABlab(41.19, -36.91, 27.71)
CIE-LCHlch(41.19, 46.15, 143.10°)
OKLaboklab(48.06% -0.0997 0.0665)
OKLCHoklch(48.06% 0.12 146.3)
XYZxyz(7.0013, 11.9832, 4.8492)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256F31 #6F2563
analogous
#3E6F25 #256F31 #256F56
triadic
#256F31 #31256F #6F3125
tetradic
#256F31 #253E6F #6F2563 #6F5625
square
#256F31 #253E6F #6F2563 #6F5625
split-complementary
#256F31 #56256F #6F253E
monochromatic
#08170A #16411D #256F31 #349D45 #4BC35F

Accessibility & contrast

On white

6.18
#256F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#256F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256F31
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256F31#FFFFFF#000000##FFFFFF
##256F311.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71652B
Deuteranopia (green-blind)
#675F36
Tritanopia (blue-blind)
#116C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #256f31;
/* rgb */ color: rgb(37, 111, 49);
/* oklch */ color: oklch(48.1% 0.120 146.3);
Tailwind
colors: {
  custom: {
    50: '#69996b',
    500: '#256f31',
    950: '#000000',
  },
}
SCSS
$custom: #256f31;
$custom-light: #69996b;
$custom-dark: #000000;
JSON
{
  "hex": "#256f31",
  "rgb": {
    "r": 37,
    "g": 111,
    "b": 49
  },
  "hsl": {
    "h": 129.73,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48061,
    "c": 0.11988,
    "h": 146.3
  },
  "luminance": 0.11984
}

Semantic roles & 50–950 ramp

primary
#256F31
secondary
#A24E94
accent
#4EC3DA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #256F31

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

Preview Lab → · Contrast checker → · Palette generator →

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