#256312#256312

#256312 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.2% C 0.128 H 139.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#256312
RGBrgb(37, 99, 18)
HSLhsl(106, 69%, 23%)
HSVhsv(106, 82%, 39%)
CMYKcmyk(62.6%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.67, -35.59, 37.19)
CIE-LCHlch(36.67, 51.48, 133.74°)
OKLaboklab(44.23% -0.0979 0.0831)
OKLCHoklch(44.23% 0.128 139.7)
XYZxyz(5.3337, 9.3602, 2.0978)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256312 #501263
analogous
#4D6312 #256312 #126327
triadic
#256312 #122563 #631225
tetradic
#256312 #124D63 #501263 #632712
square
#256312 #124D63 #501263 #632712
split-complementary
#256312 #271263 #63124D
monochromatic
#0A1A05 #122F09 #256312 #38971B #4CCB25

Accessibility & contrast

On white

7.31
#256312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#256312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #256312
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256312#FFFFFF#000000##FFFFFF
##2563121.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665901
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#1D5F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #256312;
/* rgb */ color: rgb(37, 99, 18);
/* oklch */ color: oklch(44.2% 0.128 139.7);
Tailwind
colors: {
  custom: {
    50: '#689057',
    500: '#256312',
    950: '#000000',
  },
}
SCSS
$custom: #256312;
$custom-light: #689057;
$custom-dark: #000000;
JSON
{
  "hex": "#256312",
  "rgb": {
    "r": 37,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 105.926,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.1284,
    "h": 139.7
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#256312
secondary
#83369B
accent
#3CECC3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #256312

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

Preview Lab → · Contrast checker → · Palette generator →

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