#28620F#28620F

#28620F is a dark, vivid green. Relative luminance 0.092; OKLCH L 44.0% C 0.127 H 138.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#28620F
RGBrgb(40, 98, 15)
HSLhsl(102, 73%, 22%)
HSVhsv(102, 85%, 38%)
CMYKcmyk(59.2%, 0%, 84.7%, 61.6%)
CIE-LABlab(36.41, -34.52, 38.02)
CIE-LCHlch(36.41, 51.35, 132.24°)
OKLaboklab(44.04% -0.0954 0.0844)
OKLCHoklch(44.04% 0.127 138.5)
XYZxyz(5.3288, 9.2205, 1.9508)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28620F #490F62
analogous
#51620F #28620F #0F6220
triadic
#28620F #0F2862 #620F28
tetradic
#28620F #0F5162 #490F62 #62200F
square
#28620F #0F5162 #490F62 #62200F
split-complementary
#28620F #200F62 #620F51
monochromatic
#0B1B04 #122D07 #28620F #3E9717 #53CC1F

Accessibility & contrast

On white

7.38
#28620F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#28620F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28620F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28620F#FFFFFF#000000##FFFFFF
##28620F1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#235E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28620f;
/* rgb */ color: rgb(40, 98, 15);
/* oklch */ color: oklch(44.0% 0.127 138.5);
Tailwind
colors: {
  custom: {
    50: '#6a8f55',
    500: '#28620f',
    950: '#000000',
  },
}
SCSS
$custom: #28620f;
$custom-light: #6a8f55;
$custom-dark: #000000;
JSON
{
  "hex": "#28620f",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 15
  },
  "hsl": {
    "h": 101.928,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44037,
    "c": 0.12731,
    "h": 138.5
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#28620F
secondary
#7B329B
accent
#38F0B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #28620F

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

Preview Lab → · Contrast checker → · Palette generator →

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