#256F1F#256F1F

#256F1F is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.8% C 0.135 H 142.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#256F1F
RGBrgb(37, 111, 31)
HSLhsl(116, 56%, 28%)
HSVhsv(116, 72%, 44%)
CMYKcmyk(66.7%, 0%, 72.1%, 56.5%)
CIE-LABlab(40.99, -39.17, 36.34)
CIE-LCHlch(40.99, 53.43, 137.15°)
OKLaboklab(47.84% -0.1067 0.0832)
OKLCHoklch(47.84% 0.135 142)
XYZxyz(6.6943, 11.8605, 3.2326)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256F1F #691F6F
analogous
#4D6F1F #256F1F #1F6F41
triadic
#256F1F #1F256F #6F1F25
tetradic
#256F1F #1F4D6F #691F6F #6F411F
square
#256F1F #1F4D6F #691F6F #6F411F
split-complementary
#256F1F #411F6F #6F1F4D
monochromatic
#081807 #153F12 #256F1F #359F2C #49C93F

Accessibility & contrast

On white

6.23
#256F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#256F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256F1F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256F1F#FFFFFF#000000##FFFFFF
##256F1F1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726413
Deuteranopia (green-blind)
#695E27
Tritanopia (blue-blind)
#176C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #256f1f;
/* rgb */ color: rgb(37, 111, 31);
/* oklch */ color: oklch(47.8% 0.135 142.0);
Tailwind
colors: {
  custom: {
    50: '#6a995f',
    500: '#256f1f',
    950: '#000000',
  },
}
SCSS
$custom: #256f1f;
$custom-light: #6a995f;
$custom-dark: #000000;
JSON
{
  "hex": "#256f1f",
  "rgb": {
    "r": 37,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 115.5,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47836,
    "c": 0.13535,
    "h": 142
  },
  "luminance": 0.11861
}

Semantic roles & 50–950 ramp

primary
#256F1F
secondary
#9C47A3
accent
#48E0D4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #256F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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