#286213#286213

#286213 is a dark, vivid green. Relative luminance 0.092; OKLCH L 44.1% C 0.125 H 139.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#286213
RGBrgb(40, 98, 19)
HSLhsl(104, 68%, 23%)
HSVhsv(104, 81%, 38%)
CMYKcmyk(59.2%, 0%, 80.6%, 61.6%)
CIE-LABlab(36.43, -34.25, 36.63)
CIE-LCHlch(36.43, 50.14, 133.08°)
OKLaboklab(44.06% -0.0944 0.0821)
OKLCHoklch(44.06% 0.125 139)
XYZxyz(5.3601, 9.2331, 2.1157)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286213 #4D1362
analogous
#4F6213 #286213 #136226
triadic
#286213 #132862 #621328
tetradic
#286213 #134F62 #4D1362 #622613
square
#286213 #134F62 #4D1362 #622613
split-complementary
#286213 #261362 #62134F
monochromatic
#0A1A05 #132F09 #286213 #3D951D #52C927

Accessibility & contrast

On white

7.38
#286213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#286213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##286213#FFFFFF#000000##FFFFFF
##2862131.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655903
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#225E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286213;
/* rgb */ color: rgb(40, 98, 19);
/* oklch */ color: oklch(44.1% 0.125 139.0);
Tailwind
colors: {
  custom: {
    50: '#698f57',
    500: '#286213',
    950: '#000000',
  },
}
SCSS
$custom: #286213;
$custom-light: #698f57;
$custom-dark: #000000;
JSON
{
  "hex": "#286213",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 104.051,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44064,
    "c": 0.12507,
    "h": 139
  },
  "luminance": 0.09233
}

Semantic roles & 50–950 ramp

primary
#286213
secondary
#80379A
accent
#3DEABC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #286213

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

Preview Lab → · Contrast checker → · Palette generator →

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