#286F23#286F23

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

Color values

HEX#286F23
RGBrgb(40, 111, 35)
HSLhsl(116, 52%, 29%)
HSVhsv(116, 68%, 44%)
CMYKcmyk(64%, 0%, 68.5%, 56.5%)
CIE-LABlab(41.12, -38.01, 34.70)
CIE-LCHlch(41.12, 51.47, 137.61°)
OKLaboklab(47.98% -0.1035 0.0803)
OKLCHoklch(47.98% 0.131 142.2)
XYZxyz(6.8625, 11.9407, 3.5329)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F23 #6A236F
analogous
#4E6F23 #286F23 #236F44
triadic
#286F23 #23286F #6F2328
tetradic
#286F23 #234E6F #6A236F #6F4423
square
#286F23 #234E6F #6A236F #6F4423
split-complementary
#286F23 #44236F #6F234E
monochromatic
#081707 #174014 #286F23 #399E32 #50C547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286F23#FFFFFF#000000##FFFFFF
##286F231.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)
#726519
Deuteranopia (green-blind)
#695F2A
Tritanopia (blue-blind)
#1C6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f23;
/* rgb */ color: rgb(40, 111, 35);
/* oklch */ color: oklch(48.0% 0.131 142.2);
Tailwind
colors: {
  custom: {
    50: '#6b9962',
    500: '#286f23',
    950: '#000000',
  },
}
SCSS
$custom: #286f23;
$custom-light: #6b9962;
$custom-dark: #000000;
JSON
{
  "hex": "#286f23",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 35
  },
  "hsl": {
    "h": 116.053,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.47979,
    "c": 0.131,
    "h": 142.2
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#286F23
secondary
#9D4CA2
accent
#4CDBD2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #286F23

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

Preview Lab → · Contrast checker → · Palette generator →

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