#286B24#286B24

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

Color values

HEX#286B24
RGBrgb(40, 107, 36)
HSLhsl(117, 50%, 28%)
HSVhsv(117, 66%, 42%)
CMYKcmyk(62.6%, 0%, 66.4%, 58%)
CIE-LABlab(39.74, -36.29, 32.69)
CIE-LCHlch(39.74, 48.84, 137.99°)
OKLaboklab(46.84% -0.0988 0.0761)
OKLCHoklch(46.84% 0.125 142.4)
XYZxyz(6.4509, 11.0933, 3.4700)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B24 #67246B
analogous
#4B6B24 #286B24 #246B43
triadic
#286B24 #24286B #6B2428
tetradic
#286B24 #244B6B #67246B #6B4324
square
#286B24 #244B6B #67246B #6B4324
split-complementary
#286B24 #43246B #6B244B
monochromatic
#091708 #173D15 #286B24 #399933 #4FC148

Accessibility & contrast

On white

6.52
#286B24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286B24
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B24#FFFFFF#000000##FFFFFF
##286B241.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #286b24;
/* rgb */ color: rgb(40, 107, 36);
/* oklch */ color: oklch(46.8% 0.125 142.4);
Tailwind
colors: {
  custom: {
    50: '#6a9662',
    500: '#286b24',
    950: '#000000',
  },
}
SCSS
$custom: #286b24;
$custom-light: #6a9662;
$custom-dark: #000000;
JSON
{
  "hex": "#286b24",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 36
  },
  "hsl": {
    "h": 116.62,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46839,
    "c": 0.12474,
    "h": 142.4
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#286B24
secondary
#9A4D9E
accent
#4FD9D1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286B24

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

Preview Lab → · Contrast checker → · Palette generator →

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