#286235#286235

#286235 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.5% C 0.095 H 148.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#286235
RGBrgb(40, 98, 53)
HSLhsl(133, 42%, 27%)
HSVhsv(133, 59%, 38%)
CMYKcmyk(59.2%, 0%, 45.9%, 61.6%)
CIE-LABlab(36.82, -29.88, 20.03)
CIE-LCHlch(36.82, 35.98, 146.16°)
OKLaboklab(44.52% -0.0809 0.0494)
OKLCHoklch(44.52% 0.095 148.6)
XYZxyz(5.8850, 9.4430, 4.8800)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286235 #622855
analogous
#386228 #286235 #286252
triadic
#286235 #352862 #623528
tetradic
#286235 #283862 #622855 #625228
square
#286235 #283862 #622855 #625228
split-complementary
#286235 #522862 #622838
monochromatic
#09160C #16371D #286235 #3A8D4D #4EB765

Accessibility & contrast

On white

7.27
#286235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#286235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286235
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286235#FFFFFF#000000##FFFFFF
##2862351.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A32
Deuteranopia (green-blind)
#5B5538
Tritanopia (blue-blind)
#1B6057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286235;
/* rgb */ color: rgb(40, 98, 53);
/* oklch */ color: oklch(44.5% 0.095 148.6);
Tailwind
colors: {
  custom: {
    50: '#688f6d',
    500: '#286235',
    950: '#000000',
  },
}
SCSS
$custom: #286235;
$custom-light: #688f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#286235",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 53
  },
  "hsl": {
    "h": 133.448,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44516,
    "c": 0.09477,
    "h": 148.6
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#286235
secondary
#955186
accent
#56B6D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #286235

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

Preview Lab → · Contrast checker → · Palette generator →

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