#256818#256818

#256818 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.7% C 0.131 H 140.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#256818
RGBrgb(37, 104, 24)
HSLhsl(110, 63%, 25%)
HSVhsv(110, 77%, 41%)
CMYKcmyk(64.4%, 0%, 76.9%, 59.2%)
CIE-LABlab(38.48, -37.10, 36.68)
CIE-LCHlch(38.48, 52.17, 135.33°)
OKLaboklab(45.74% -0.1015 0.083)
OKLCHoklch(45.74% 0.131 140.7)
XYZxyz(5.8778, 10.3593, 2.5538)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256818 #5B1868
analogous
#4D6818 #256818 #186833
triadic
#256818 #182568 #681825
tetradic
#256818 #184D68 #5B1868 #683318
square
#256818 #184D68 #5B1868 #683318
split-complementary
#256818 #331868 #68184D
monochromatic
#091906 #13360D #256818 #379A23 #48CB2F

Accessibility & contrast

On white

6.84
#256818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #256818
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256818#FFFFFF#000000##FFFFFF
##2568181.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#635820
Tritanopia (blue-blind)
#1B6458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #256818;
/* rgb */ color: rgb(37, 104, 24);
/* oklch */ color: oklch(45.7% 0.131 140.7);
Tailwind
colors: {
  custom: {
    50: '#69945b',
    500: '#256818',
    950: '#000000',
  },
}
SCSS
$custom: #256818;
$custom-light: #69945b;
$custom-dark: #000000;
JSON
{
  "hex": "#256818",
  "rgb": {
    "r": 37,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 110.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45739,
    "c": 0.13114,
    "h": 140.7
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#256818
secondary
#8E3E9E
accent
#42E6CB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #256818

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

Preview Lab → · Contrast checker → · Palette generator →

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