#256D1F#256D1F

#256D1F is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.3% C 0.133 H 142.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#256D1F
RGBrgb(37, 109, 31)
HSLhsl(115, 56%, 27%)
HSVhsv(115, 72%, 43%)
CMYKcmyk(66.1%, 0%, 71.6%, 57.3%)
CIE-LABlab(40.29, -38.40, 35.59)
CIE-LCHlch(40.29, 52.36, 137.17°)
OKLaboklab(47.26% -0.1046 0.0817)
OKLCHoklch(47.26% 0.133 142)
XYZxyz(6.4786, 11.4289, 3.1606)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256D1F #671F6D
analogous
#4C6D1F #256D1F #1F6D40
triadic
#256D1F #1F256D #6D1F25
tetradic
#256D1F #1F4C6D #671F6D #6D401F
square
#256D1F #1F4C6D #671F6D #6D401F
split-complementary
#256D1F #401F6D #6D1F4C
monochromatic
#081807 #153D11 #256D1F #359D2D #49C83E

Accessibility & contrast

On white

6.39
#256D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#256D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256D1F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256D1F#FFFFFF#000000##FFFFFF
##256D1F1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#186A5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #256d1f;
/* rgb */ color: rgb(37, 109, 31);
/* oklch */ color: oklch(47.3% 0.133 142.0);
Tailwind
colors: {
  custom: {
    50: '#6a985f',
    500: '#256d1f',
    950: '#000000',
  },
}
SCSS
$custom: #256d1f;
$custom-light: #6a985f;
$custom-dark: #000000;
JSON
{
  "hex": "#256d1f",
  "rgb": {
    "r": 37,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 115.385,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47257,
    "c": 0.13274,
    "h": 142
  },
  "luminance": 0.1143
}

Semantic roles & 50–950 ramp

primary
#256D1F
secondary
#9A47A1
accent
#49DFD3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #256D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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