#286334#286334

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

Color values

HEX#286334
RGBrgb(40, 99, 52)
HSLhsl(132, 42%, 27%)
HSVhsv(132, 60%, 39%)
CMYKcmyk(59.6%, 0%, 47.5%, 61.2%)
CIE-LABlab(37.16, -30.52, 21.04)
CIE-LCHlch(37.16, 37.07, 145.42°)
OKLaboklab(44.78% -0.0826 0.0516)
OKLCHoklch(44.78% 0.097 148)
XYZxyz(5.9564, 9.6222, 4.7915)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286334 #632857
analogous
#3A6328 #286334 #286351
triadic
#286334 #342863 #633428
tetradic
#286334 #283A63 #632857 #635128
square
#286334 #283A63 #632857 #635128
split-complementary
#286334 #512863 #63283A
monochromatic
#09160B #16371D #286334 #3A8F4B #4EB763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286334#FFFFFF#000000##FFFFFF
##2863341.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #286334;
/* rgb */ color: rgb(40, 99, 52);
/* oklch */ color: oklch(44.8% 0.097 148.0);
Tailwind
colors: {
  custom: {
    50: '#68906c',
    500: '#286334',
    950: '#000000',
  },
}
SCSS
$custom: #286334;
$custom-light: #68906c;
$custom-dark: #000000;
JSON
{
  "hex": "#286334",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 52
  },
  "hsl": {
    "h": 132.203,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44783,
    "c": 0.09743,
    "h": 148
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#286334
secondary
#965188
accent
#56B9D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #286334

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

Preview Lab → · Contrast checker → · Palette generator →

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