#256F18#256F18

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

Color values

HEX#256F18
RGBrgb(37, 111, 24)
HSLhsl(111, 64%, 26%)
HSVhsv(111, 78%, 44%)
CMYKcmyk(66.7%, 0%, 78.4%, 56.5%)
CIE-LABlab(40.94, -39.80, 39.15)
CIE-LCHlch(40.94, 55.83, 135.47°)
OKLaboklab(47.78% -0.1088 0.0881)
OKLCHoklch(47.78% 0.14 141)
XYZxyz(6.6119, 11.8275, 2.7985)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256F18 #62186F
analogous
#516F18 #256F18 #186F37
triadic
#256F18 #18256F #6F1825
tetradic
#256F18 #18516F #62186F #6F3718
square
#256F18 #18516F #62186F #6F3718
split-complementary
#256F18 #37186F #6F1851
monochromatic
#081905 #143D0D #256F18 #36A123 #48D22F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##256F18#FFFFFF#000000##FFFFFF
##256F181.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#186B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #256f18;
/* rgb */ color: rgb(37, 111, 24);
/* oklch */ color: oklch(47.8% 0.140 141.0);
Tailwind
colors: {
  custom: {
    50: '#6a995c',
    500: '#256f18',
    950: '#000000',
  },
}
SCSS
$custom: #256f18;
$custom-light: #6a995c;
$custom-dark: #000000;
JSON
{
  "hex": "#256f18",
  "rgb": {
    "r": 37,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 111.034,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47775,
    "c": 0.14005,
    "h": 141
  },
  "luminance": 0.11828
}

Semantic roles & 50–950 ramp

primary
#256F18
secondary
#953EA5
accent
#40E7CE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #256F18

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

Preview Lab → · Contrast checker → · Palette generator →

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