#285214#285214

#285214 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.102 H 137.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#285214
RGBrgb(40, 82, 20)
HSLhsl(101, 61%, 20%)
HSVhsv(101, 76%, 32%)
CMYKcmyk(51.2%, 0%, 75.6%, 67.8%)
CIE-LABlab(30.73, -27.22, 30.46)
CIE-LCHlch(30.73, 40.85, 131.78°)
OKLaboklab(39.37% -0.0753 0.0693)
OKLCHoklch(39.37% 0.102 137.4)
XYZxyz(4.0185, 6.5359, 1.7115)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285214 #3E1452
analogous
#475214 #285214 #14521F
triadic
#285214 #142852 #521428
tetradic
#285214 #144752 #3E1452 #521F14
square
#285214 #144752 #3E1452 #521F14
split-complementary
#285214 #1F1452 #521447
monochromatic
#0C1906 #102108 #285214 #408320 #58B42C

Accessibility & contrast

On white

9.10
#285214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#285214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285214
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285214#FFFFFF#000000##FFFFFF
##2852141.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0B
Deuteranopia (green-blind)
#4F471A
Tritanopia (blue-blind)
#254F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #285214;
/* rgb */ color: rgb(40, 82, 20);
/* oklch */ color: oklch(39.4% 0.102 137.4);
Tailwind
colors: {
  custom: {
    50: '#668355',
    500: '#285214',
    950: '#000000',
  },
}
SCSS
$custom: #285214;
$custom-light: #668355;
$custom-dark: #000000;
JSON
{
  "hex": "#285214",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 100.645,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.39371,
    "c": 0.10239,
    "h": 137.4
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#285214
secondary
#70388A
accent
#44E4B0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285214

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

Preview Lab → · Contrast checker → · Palette generator →

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