#28670F#28670F

#28670F is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.134 H 138.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#28670F
RGBrgb(40, 103, 15)
HSLhsl(103, 75%, 23%)
HSVhsv(103, 85%, 40%)
CMYKcmyk(61.2%, 0%, 85.4%, 59.6%)
CIE-LABlab(38.17, -36.53, 39.67)
CIE-LCHlch(38.17, 53.93, 132.64°)
OKLaboklab(45.5% -0.1008 0.0878)
OKLCHoklch(45.5% 0.134 138.9)
XYZxyz(5.8113, 10.1856, 2.1116)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28670F #4E0F67
analogous
#54670F #28670F #0F6722
triadic
#28670F #0F2867 #670F28
tetradic
#28670F #0F5467 #4E0F67 #67220F
square
#28670F #0F5467 #4E0F67 #67220F
split-complementary
#28670F #220F67 #670F54
monochromatic
#0A1B04 #133207 #28670F #3D9C17 #51D21F

Accessibility & contrast

On white

6.91
#28670F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#28670F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28670F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28670F#FFFFFF#000000##FFFFFF
##28670F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#216357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #28670f;
/* rgb */ color: rgb(40, 103, 15);
/* oklch */ color: oklch(45.5% 0.134 138.9);
Tailwind
colors: {
  custom: {
    50: '#6b9356',
    500: '#28670f',
    950: '#000000',
  },
}
SCSS
$custom: #28670f;
$custom-light: #6b9356;
$custom-dark: #000000;
JSON
{
  "hex": "#28670f",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 15
  },
  "hsl": {
    "h": 102.955,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45497,
    "c": 0.13364,
    "h": 138.9
  },
  "luminance": 0.10186
}

Semantic roles & 50–950 ramp

primary
#28670F
secondary
#8132A0
accent
#37F1BC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #28670F

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

Preview Lab → · Contrast checker → · Palette generator →

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