#286233#286233

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

Color values

HEX#286233
RGBrgb(40, 98, 51)
HSLhsl(131, 42%, 27%)
HSVhsv(131, 59%, 38%)
CMYKcmyk(59.2%, 0%, 48%, 61.6%)
CIE-LABlab(36.79, -30.24, 21.15)
CIE-LCHlch(36.79, 36.90, 145.04°)
OKLaboklab(44.48% -0.0819 0.0518)
OKLCHoklch(44.48% 0.097 147.7)
XYZxyz(5.8399, 9.4250, 4.6428)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286233 #622857
analogous
#3A6228 #286233 #286250
triadic
#286233 #332862 #623328
tetradic
#286233 #283A62 #622857 #625028
square
#286233 #283A62 #622857 #625028
split-complementary
#286233 #502862 #62283A
monochromatic
#09160B #16371C #286233 #3A8D4A #4EB762

Accessibility & contrast

On white

7.28
#286233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #286233
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286233#FFFFFF#000000##FFFFFF
##2862331.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A2F
Deuteranopia (green-blind)
#5B5436
Tritanopia (blue-blind)
#1C6057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286233;
/* rgb */ color: rgb(40, 98, 51);
/* oklch */ color: oklch(44.5% 0.097 147.7);
Tailwind
colors: {
  custom: {
    50: '#688f6b',
    500: '#286233',
    950: '#000000',
  },
}
SCSS
$custom: #286233;
$custom-light: #688f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#286233",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 51
  },
  "hsl": {
    "h": 131.379,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44477,
    "c": 0.09691,
    "h": 147.7
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#286233
secondary
#955188
accent
#56BAD2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #286233

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

Preview Lab → · Contrast checker → · Palette generator →

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