#256512#256512

#256512 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.8% C 0.131 H 139.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#256512
RGBrgb(37, 101, 18)
HSLhsl(106, 70%, 23%)
HSVhsv(106, 82%, 40%)
CMYKcmyk(63.4%, 0%, 82.2%, 60.4%)
CIE-LABlab(37.38, -36.39, 37.88)
CIE-LCHlch(37.38, 52.52, 133.85°)
OKLaboklab(44.82% -0.1 0.0846)
OKLCHoklch(44.82% 0.131 139.8)
XYZxyz(5.5256, 9.7438, 2.1617)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256512 #521265
analogous
#4E6512 #256512 #126528
triadic
#256512 #122565 #651225
tetradic
#256512 #124E65 #521265 #652812
square
#256512 #124E65 #521265 #652812
split-complementary
#256512 #281265 #65124E
monochromatic
#0A1A05 #123109 #256512 #38991B #4BCD25

Accessibility & contrast

On white

7.12
#256512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#256512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #256512
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256512#FFFFFF#000000##FFFFFF
##2565121.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#1D6155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #256512;
/* rgb */ color: rgb(37, 101, 18);
/* oklch */ color: oklch(44.8% 0.131 139.8);
Tailwind
colors: {
  custom: {
    50: '#699257',
    500: '#256512',
    950: '#000000',
  },
}
SCSS
$custom: #256512;
$custom-light: #699257;
$custom-dark: #000000;
JSON
{
  "hex": "#256512",
  "rgb": {
    "r": 37,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 106.265,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44816,
    "c": 0.13095,
    "h": 139.8
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#256512
secondary
#85369D
accent
#3BEDC4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #256512

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

Preview Lab → · Contrast checker → · Palette generator →

#256512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva