#28680F#28680F

#28680F is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.135 H 139.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#28680F
RGBrgb(40, 104, 15)
HSLhsl(103, 75%, 23%)
HSVhsv(103, 86%, 41%)
CMYKcmyk(61.5%, 0%, 85.6%, 59.2%)
CIE-LABlab(38.53, -36.92, 39.99)
CIE-LCHlch(38.53, 54.43, 132.71°)
OKLaboklab(45.79% -0.1018 0.0885)
OKLCHoklch(45.79% 0.135 139)
XYZxyz(5.9114, 10.3857, 2.1450)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28680F #4F0F68
analogous
#54680F #28680F #0F6822
triadic
#28680F #0F2868 #680F28
tetradic
#28680F #0F5468 #4F0F68 #68220F
square
#28680F #0F5468 #4F0F68 #68220F
split-complementary
#28680F #220F68 #680F54
monochromatic
#0A1B04 #133307 #28680F #3D9D17 #51D31E

Accessibility & contrast

On white

6.82
#28680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#28680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28680F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28680F#FFFFFF#000000##FFFFFF
##28680F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#63591A
Tritanopia (blue-blind)
#216458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #28680f;
/* rgb */ color: rgb(40, 104, 15);
/* oklch */ color: oklch(45.8% 0.135 139.0);
Tailwind
colors: {
  custom: {
    50: '#6b9456',
    500: '#28680f',
    950: '#000000',
  },
}
SCSS
$custom: #28680f;
$custom-light: #6b9456;
$custom-dark: #000000;
JSON
{
  "hex": "#28680f",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 103.146,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45788,
    "c": 0.13489,
    "h": 139
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#28680F
secondary
#8232A1
accent
#36F1BD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #28680F

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

Preview Lab → · Contrast checker → · Palette generator →

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