#286F29#286F29

#286F29 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.126 H 143.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#286F29
RGBrgb(40, 111, 41)
HSLhsl(121, 47%, 30%)
HSVhsv(121, 64%, 44%)
CMYKcmyk(64%, 0%, 63.1%, 56.5%)
CIE-LABlab(41.18, -37.30, 31.87)
CIE-LCHlch(41.18, 49.06, 139.49°)
OKLaboklab(48.05% -0.1013 0.0749)
OKLCHoklch(48.05% 0.126 143.5)
XYZxyz(6.9594, 11.9794, 4.0429)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F29 #6F286E
analogous
#4B6F28 #286F29 #286F4D
triadic
#286F29 #29286F #6F2928
tetradic
#286F29 #284B6F #6F286E #6F4D28
square
#286F29 #284B6F #6F286E #6F4D28
split-complementary
#286F29 #4D286F #6F284B
monochromatic
#081608 #184218 #286F29 #389C3A #51C053

Accessibility & contrast

On white

6.18
#286F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#286F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F29
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F29#FFFFFF#000000##FFFFFF
##286F291.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716521
Deuteranopia (green-blind)
#685F2F
Tritanopia (blue-blind)
#1A6C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f29;
/* rgb */ color: rgb(40, 111, 41);
/* oklch */ color: oklch(48.0% 0.126 143.5);
Tailwind
colors: {
  custom: {
    50: '#6b9965',
    500: '#286f29',
    950: '#000000',
  },
}
SCSS
$custom: #286f29;
$custom-light: #6b9965;
$custom-dark: #000000;
JSON
{
  "hex": "#286f29",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 41
  },
  "hsl": {
    "h": 120.845,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4805,
    "c": 0.12596,
    "h": 143.5
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#286F29
secondary
#A151A0
accent
#51D5D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #286F29

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

Preview Lab → · Contrast checker → · Palette generator →

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