#256212#256212

#256212 is a dark, vivid green. Relative luminance 0.092; OKLCH L 43.9% C 0.127 H 139.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#256212
RGBrgb(37, 98, 18)
HSLhsl(106, 69%, 23%)
HSVhsv(106, 82%, 38%)
CMYKcmyk(62.2%, 0%, 81.6%, 61.6%)
CIE-LABlab(36.31, -35.19, 36.85)
CIE-LCHlch(36.31, 50.95, 133.69°)
OKLaboklab(43.94% -0.0968 0.0824)
OKLCHoklch(43.94% 0.127 139.6)
XYZxyz(5.2396, 9.1719, 2.0664)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256212 #4F1262
analogous
#4D6212 #256212 #126227
triadic
#256212 #122562 #621225
tetradic
#256212 #124D62 #4F1262 #622712
square
#256212 #124D62 #4F1262 #622712
split-complementary
#256212 #271262 #62124D
monochromatic
#0A1A05 #112E09 #256212 #39961B #4CC925

Accessibility & contrast

On white

7.41
#256212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#256212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #256212
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256212#FFFFFF#000000##FFFFFF
##2562121.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#5D541B
Tritanopia (blue-blind)
#1E5E53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #256212;
/* rgb */ color: rgb(37, 98, 18);
/* oklch */ color: oklch(43.9% 0.127 139.6);
Tailwind
colors: {
  custom: {
    50: '#688f57',
    500: '#256212',
    950: '#000000',
  },
}
SCSS
$custom: #256212;
$custom-light: #688f57;
$custom-dark: #000000;
JSON
{
  "hex": "#256212",
  "rgb": {
    "r": 37,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 105.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43935,
    "c": 0.12711,
    "h": 139.6
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

primary
#256212
secondary
#82369A
accent
#3CECC2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #256212

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

Preview Lab → · Contrast checker → · Palette generator →

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