#286F22#286F22

#286F22 is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.132 H 142.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#286F22
RGBrgb(40, 111, 34)
HSLhsl(115, 53%, 28%)
HSVhsv(115, 69%, 44%)
CMYKcmyk(64%, 0%, 69.4%, 56.5%)
CIE-LABlab(41.11, -38.12, 35.15)
CIE-LCHlch(41.11, 51.85, 137.32°)
OKLaboklab(47.97% -0.1039 0.0811)
OKLCHoklch(47.97% 0.132 142)
XYZxyz(6.8479, 11.9348, 3.4558)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F22 #69226F
analogous
#4E6F22 #286F22 #226F42
triadic
#286F22 #22286F #6F2228
tetradic
#286F22 #224E6F #69226F #6F4222
square
#286F22 #224E6F #69226F #6F4222
split-complementary
#286F22 #42226F #6F224E
monochromatic
#081707 #174014 #286F22 #399E30 #4FC645

Accessibility & contrast

On white

6.20
#286F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#286F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F22
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F22#FFFFFF#000000##FFFFFF
##286F221.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#695F29
Tritanopia (blue-blind)
#1C6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f22;
/* rgb */ color: rgb(40, 111, 34);
/* oklch */ color: oklch(48.0% 0.132 142.0);
Tailwind
colors: {
  custom: {
    50: '#6b9961',
    500: '#286f22',
    950: '#000000',
  },
}
SCSS
$custom: #286f22;
$custom-light: #6b9961;
$custom-dark: #000000;
JSON
{
  "hex": "#286f22",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 115.325,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47969,
    "c": 0.1318,
    "h": 142
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#286F22
secondary
#9C4AA2
accent
#4BDDD1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #286F22

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

Preview Lab → · Contrast checker → · Palette generator →

#286F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva