#286331#286331

#286331 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.101 H 146.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#286331
RGBrgb(40, 99, 49)
HSLhsl(129, 42%, 27%)
HSVhsv(129, 60%, 39%)
CMYKcmyk(59.6%, 0%, 50.5%, 61.2%)
CIE-LABlab(37.11, -31.04, 22.69)
CIE-LCHlch(37.11, 38.45, 143.83°)
OKLaboklab(44.73% -0.0841 0.0553)
OKLCHoklch(44.73% 0.101 146.7)
XYZxyz(5.8909, 9.5960, 4.4469)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286331 #63285A
analogous
#3C6328 #286331 #28634F
triadic
#286331 #312863 #633128
tetradic
#286331 #283C63 #63285A #634F28
square
#286331 #283C63 #63285A #634F28
split-complementary
#286331 #4F2863 #63283C
monochromatic
#09160B #16371B #286331 #3A8F47 #4EB75E

Accessibility & contrast

On white

7.19
#286331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#286331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286331
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286331#FFFFFF#000000##FFFFFF
##2863311.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B2D
Deuteranopia (green-blind)
#5C5534
Tritanopia (blue-blind)
#1C6157
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286331;
/* rgb */ color: rgb(40, 99, 49);
/* oklch */ color: oklch(44.7% 0.101 146.7);
Tailwind
colors: {
  custom: {
    50: '#68906a',
    500: '#286331',
    950: '#000000',
  },
}
SCSS
$custom: #286331;
$custom-light: #68906a;
$custom-dark: #000000;
JSON
{
  "hex": "#286331",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 129.153,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44728,
    "c": 0.1006,
    "h": 146.7
  },
  "luminance": 0.09597
}

Semantic roles & 50–950 ramp

primary
#286331
secondary
#96518B
accent
#56BFD2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #286331

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

Preview Lab → · Contrast checker → · Palette generator →

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