#256812#256812

#256812 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.135 H 140.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#256812
RGBrgb(37, 104, 18)
HSLhsl(107, 70%, 24%)
HSVhsv(107, 83%, 41%)
CMYKcmyk(64.4%, 0%, 82.7%, 59.2%)
CIE-LABlab(38.44, -37.56, 38.89)
CIE-LCHlch(38.44, 54.07, 134.00°)
OKLaboklab(45.69% -0.1031 0.0867)
OKLCHoklch(45.69% 0.135 140)
XYZxyz(5.8222, 10.3371, 2.2606)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256812 #551268
analogous
#506812 #256812 #12682A
triadic
#256812 #122568 #681225
tetradic
#256812 #125068 #551268 #682A12
square
#256812 #125068 #551268 #682A12
split-complementary
#256812 #2A1268 #681250
monochromatic
#091A05 #123409 #256812 #389C1B #4AD024

Accessibility & contrast

On white

6.85
#256812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#256812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256812
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256812#FFFFFF#000000##FFFFFF
##2568121.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#1C6458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #256812;
/* rgb */ color: rgb(37, 104, 18);
/* oklch */ color: oklch(45.7% 0.135 140.0);
Tailwind
colors: {
  custom: {
    50: '#699458',
    500: '#256812',
    950: '#000000',
  },
}
SCSS
$custom: #256812;
$custom-light: #699458;
$custom-dark: #000000;
JSON
{
  "hex": "#256812",
  "rgb": {
    "r": 37,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 106.744,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45694,
    "c": 0.13473,
    "h": 140
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#256812
secondary
#8836A0
accent
#3BEDC6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #256812

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

Preview Lab → · Contrast checker → · Palette generator →

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