#256F17#256F17

#256F17 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.141 H 140.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#256F17
RGBrgb(37, 111, 23)
HSLhsl(110, 66%, 26%)
HSVhsv(110, 79%, 44%)
CMYKcmyk(66.7%, 0%, 79.3%, 56.5%)
CIE-LABlab(40.93, -39.88, 39.52)
CIE-LCHlch(40.93, 56.14, 135.26°)
OKLaboklab(47.77% -0.1091 0.0888)
OKLCHoklch(47.77% 0.141 140.9)
XYZxyz(6.6017, 11.8234, 2.7447)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256F17 #61176F
analogous
#516F17 #256F17 #176F35
triadic
#256F17 #17256F #6F1725
tetradic
#256F17 #17516F #61176F #6F3517
square
#256F17 #17516F #61176F #6F3517
split-complementary
#256F17 #35176F #6F1751
monochromatic
#081905 #143C0C #256F17 #36A222 #47D32D

Accessibility & contrast

On white

6.24
#256F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#256F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256F17
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256F17#FFFFFF#000000##FFFFFF
##256F171.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#196B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #256f17;
/* rgb */ color: rgb(37, 111, 23);
/* oklch */ color: oklch(47.8% 0.141 140.9);
Tailwind
colors: {
  custom: {
    50: '#6b995b',
    500: '#256f17',
    950: '#000000',
  },
}
SCSS
$custom: #256f17;
$custom-light: #6b995b;
$custom-dark: #000000;
JSON
{
  "hex": "#256f17",
  "rgb": {
    "r": 37,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 110.455,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.14065,
    "h": 140.9
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#256F17
secondary
#943DA5
accent
#3FE9CE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #256F17

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

Preview Lab → · Contrast checker → · Palette generator →

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