#286B23#286B23

#286B23 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.126 H 142.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#286B23
RGBrgb(40, 107, 35)
HSLhsl(116, 51%, 28%)
HSVhsv(116, 67%, 42%)
CMYKcmyk(62.6%, 0%, 67.3%, 58%)
CIE-LABlab(39.73, -36.41, 33.16)
CIE-LCHlch(39.73, 49.25, 137.68°)
OKLaboklab(46.83% -0.0992 0.077)
OKLCHoklch(46.83% 0.126 142.2)
XYZxyz(6.4358, 11.0873, 3.3907)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B23 #66236B
analogous
#4C6B23 #286B23 #236B42
triadic
#286B23 #23286B #6B2328
tetradic
#286B23 #234C6B #66236B #6B4223
square
#286B23 #234C6B #66236B #6B4223
split-complementary
#286B23 #42236B #6B234C
monochromatic
#091708 #173D14 #286B23 #399932 #4FC246

Accessibility & contrast

On white

6.53
#286B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#286B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B23
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B23#FFFFFF#000000##FFFFFF
##286B231.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E611A
Deuteranopia (green-blind)
#655B29
Tritanopia (blue-blind)
#1D685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b23;
/* rgb */ color: rgb(40, 107, 35);
/* oklch */ color: oklch(46.8% 0.126 142.2);
Tailwind
colors: {
  custom: {
    50: '#6a9661',
    500: '#286b23',
    950: '#000000',
  },
}
SCSS
$custom: #286b23;
$custom-light: #6a9661;
$custom-dark: #000000;
JSON
{
  "hex": "#286b23",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 35
  },
  "hsl": {
    "h": 115.833,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.46828,
    "c": 0.12558,
    "h": 142.2
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#286B23
secondary
#994B9E
accent
#4EDAD0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286B23

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

Preview Lab → · Contrast checker → · Palette generator →

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