#286335#286335

#286335 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.096 H 148.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#286335
RGBrgb(40, 99, 53)
HSLhsl(133, 42%, 27%)
HSVhsv(133, 60%, 39%)
CMYKcmyk(59.6%, 0%, 46.5%, 61.2%)
CIE-LABlab(37.17, -30.34, 20.48)
CIE-LCHlch(37.17, 36.60, 145.97°)
OKLaboklab(44.8% -0.0821 0.0504)
OKLCHoklch(44.8% 0.096 148.5)
XYZxyz(5.9791, 9.6313, 4.9114)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286335 #632856
analogous
#396328 #286335 #286352
triadic
#286335 #352863 #633528
tetradic
#286335 #283963 #632856 #635228
square
#286335 #283963 #632856 #635228
split-complementary
#286335 #522863 #632839
monochromatic
#09160C #16371E #286335 #3A8F4C #4EB765

Accessibility & contrast

On white

7.18
#286335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#286335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286335
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286335#FFFFFF#000000##FFFFFF
##2863351.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B32
Deuteranopia (green-blind)
#5C5538
Tritanopia (blue-blind)
#1B6158
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286335;
/* rgb */ color: rgb(40, 99, 53);
/* oklch */ color: oklch(44.8% 0.096 148.5);
Tailwind
colors: {
  custom: {
    50: '#68906d',
    500: '#286335',
    950: '#000000',
  },
}
SCSS
$custom: #286335;
$custom-light: #68906d;
$custom-dark: #000000;
JSON
{
  "hex": "#286335",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 53
  },
  "hsl": {
    "h": 133.22,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44802,
    "c": 0.09636,
    "h": 148.5
  },
  "luminance": 0.09632
}

Semantic roles & 50–950 ramp

primary
#286335
secondary
#965187
accent
#56B7D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #286335

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

Preview Lab → · Contrast checker → · Palette generator →

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