#285210#285210

#285210 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.3% C 0.105 H 136.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#285210
RGBrgb(40, 82, 16)
HSLhsl(98, 67%, 19%)
HSVhsv(98, 80%, 32%)
CMYKcmyk(51.2%, 0%, 80.5%, 67.8%)
CIE-LABlab(30.70, -27.56, 32.15)
CIE-LCHlch(30.70, 42.35, 130.60°)
OKLaboklab(39.34% -0.0766 0.0722)
OKLCHoklch(39.34% 0.105 136.7)
XYZxyz(3.9858, 6.5229, 1.5391)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285210 #3A1052
analogous
#495210 #285210 #105219
triadic
#285210 #102852 #521028
tetradic
#285210 #104952 #3A1052 #521910
square
#285210 #104952 #3A1052 #521910
split-complementary
#285210 #191052 #521049
monochromatic
#0C1A05 #0F1F06 #285210 #41851A #5AB824

Accessibility & contrast

On white

9.11
#285210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#285210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285210
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285210#FFFFFF#000000##FFFFFF
##2852101.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A04
Deuteranopia (green-blind)
#504717
Tritanopia (blue-blind)
#264F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #285210;
/* rgb */ color: rgb(40, 82, 16);
/* oklch */ color: oklch(39.3% 0.105 136.7);
Tailwind
colors: {
  custom: {
    50: '#678353',
    500: '#285210',
    950: '#000000',
  },
}
SCSS
$custom: #285210;
$custom-light: #678353;
$custom-dark: #000000;
JSON
{
  "hex": "#285210",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 98.182,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39335,
    "c": 0.10527,
    "h": 136.7
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#285210
secondary
#6B328C
accent
#3EEAAB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285210

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

Preview Lab → · Contrast checker → · Palette generator →

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