#28640F#28640F

#28640F is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.6% C 0.130 H 138.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#28640F
RGBrgb(40, 100, 15)
HSLhsl(102, 74%, 23%)
HSVhsv(102, 85%, 39%)
CMYKcmyk(60%, 0%, 85%, 60.8%)
CIE-LABlab(37.11, -35.33, 38.68)
CIE-LCHlch(37.11, 52.39, 132.41°)
OKLaboklab(44.62% -0.0975 0.0857)
OKLCHoklch(44.62% 0.13 138.7)
XYZxyz(5.5183, 9.5995, 2.0139)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28640F #4B0F64
analogous
#52640F #28640F #0F6421
triadic
#28640F #0F2864 #640F28
tetradic
#28640F #0F5264 #4B0F64 #64210F
square
#28640F #0F5264 #4B0F64 #64210F
split-complementary
#28640F #210F64 #640F52
monochromatic
#0B1B04 #132F07 #28640F #3D9917 #53CE1F

Accessibility & contrast

On white

7.19
#28640F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#28640F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28640F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28640F#FFFFFF#000000##FFFFFF
##28640F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#605519
Tritanopia (blue-blind)
#226054
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #28640f;
/* rgb */ color: rgb(40, 100, 15);
/* oklch */ color: oklch(44.6% 0.130 138.7);
Tailwind
colors: {
  custom: {
    50: '#6a9156',
    500: '#28640f',
    950: '#000000',
  },
}
SCSS
$custom: #28640f;
$custom-light: #6a9156;
$custom-dark: #000000;
JSON
{
  "hex": "#28640f",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 15
  },
  "hsl": {
    "h": 102.353,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44622,
    "c": 0.12987,
    "h": 138.7
  },
  "luminance": 0.096
}

Semantic roles & 50–950 ramp

primary
#28640F
secondary
#7D329D
accent
#37F1BA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D03
muted
#7A7D78

Preview Lab

Preview with #28640F

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

Preview Lab → · Contrast checker → · Palette generator →

#28640F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva