#286F24#286F24

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

Color values

HEX#286F24
RGBrgb(40, 111, 36)
HSLhsl(117, 51%, 29%)
HSVhsv(117, 68%, 44%)
CMYKcmyk(64%, 0%, 67.6%, 56.5%)
CIE-LABlab(41.13, -37.90, 34.24)
CIE-LCHlch(41.13, 51.08, 137.91°)
OKLaboklab(47.99% -0.1032 0.0794)
OKLCHoklch(47.99% 0.13 142.4)
XYZxyz(6.8776, 11.9467, 3.6122)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F24 #6B246F
analogous
#4E6F24 #286F24 #246F46
triadic
#286F24 #24286F #6F2428
tetradic
#286F24 #244E6F #6B246F #6F4624
square
#286F24 #244E6F #6B246F #6F4624
split-complementary
#286F24 #46246F #6F244E
monochromatic
#081707 #174115 #286F24 #399D33 #50C449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286F24#FFFFFF#000000##FFFFFF
##286F241.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)
#72651B
Deuteranopia (green-blind)
#695F2B
Tritanopia (blue-blind)
#1C6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f24;
/* rgb */ color: rgb(40, 111, 36);
/* oklch */ color: oklch(48.0% 0.130 142.4);
Tailwind
colors: {
  custom: {
    50: '#6b9962',
    500: '#286f24',
    950: '#000000',
  },
}
SCSS
$custom: #286f24;
$custom-light: #6b9962;
$custom-dark: #000000;
JSON
{
  "hex": "#286f24",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 36
  },
  "hsl": {
    "h": 116.8,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4799,
    "c": 0.1302,
    "h": 142.4
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#286F24
secondary
#9D4DA2
accent
#4DDAD3
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #286F24

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

Preview Lab → · Contrast checker → · Palette generator →

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