#286930#286930

#286930 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.4% C 0.111 H 145.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#286930
RGBrgb(40, 105, 48)
HSLhsl(127, 45%, 28%)
HSVhsv(127, 62%, 41%)
CMYKcmyk(61.9%, 0%, 54.3%, 58.8%)
CIE-LABlab(39.19, -33.82, 25.83)
CIE-LCHlch(39.19, 42.56, 142.63°)
OKLaboklab(46.43% -0.0916 0.0623)
OKLCHoklch(46.43% 0.111 145.8)
XYZxyz(6.4597, 10.7671, 4.5336)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286930 #692861
analogous
#406928 #286930 #286950
triadic
#286930 #302869 #693028
tetradic
#286930 #284069 #692861 #695028
square
#286930 #284069 #692861 #695028
split-complementary
#286930 #502869 #692840
monochromatic
#08160A #173D1C #286930 #399544 #4FBC5D

Accessibility & contrast

On white

6.66
#286930 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#286930 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286930
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286930#FFFFFF#000000##FFFFFF
##2869301.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602B
Deuteranopia (green-blind)
#625A34
Tritanopia (blue-blind)
#1A665C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #286930;
/* rgb */ color: rgb(40, 105, 48);
/* oklch */ color: oklch(46.4% 0.111 145.8);
Tailwind
colors: {
  custom: {
    50: '#69946a',
    500: '#286930',
    950: '#000000',
  },
}
SCSS
$custom: #286930;
$custom-light: #69946a;
$custom-dark: #000000;
JSON
{
  "hex": "#286930",
  "rgb": {
    "r": 40,
    "g": 105,
    "b": 48
  },
  "hsl": {
    "h": 127.385,
    "s": 44.828,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.11073,
    "h": 145.8
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

primary
#286930
secondary
#9C5192
accent
#53C5D5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286930

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

Preview Lab → · Contrast checker → · Palette generator →

#286930 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva