#285114#285114

#285114 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.101 H 137.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#285114
RGBrgb(40, 81, 20)
HSLhsl(100, 60%, 20%)
HSVhsv(100, 75%, 32%)
CMYKcmyk(50.6%, 0%, 75.3%, 68.2%)
CIE-LABlab(30.37, -26.76, 30.09)
CIE-LCHlch(30.37, 40.27, 131.65°)
OKLaboklab(39.08% -0.0741 0.0686)
OKLCHoklch(39.08% 0.101 137.2)
XYZxyz(3.9436, 6.3862, 1.6865)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285114 #3D1451
analogous
#475114 #285114 #14511F
triadic
#285114 #142851 #511428
tetradic
#285114 #144751 #3D1451 #511F14
square
#285114 #144751 #3D1451 #511F14
split-complementary
#285114 #1F1451 #511447
monochromatic
#0C1906 #102008 #285114 #408220 #58B32C

Accessibility & contrast

On white

9.22
#285114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#285114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285114
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285114#FFFFFF#000000##FFFFFF
##2851141.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0B
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#264E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #285114;
/* rgb */ color: rgb(40, 81, 20);
/* oklch */ color: oklch(39.1% 0.101 137.2);
Tailwind
colors: {
  custom: {
    50: '#668255',
    500: '#285114',
    950: '#000000',
  },
}
SCSS
$custom: #285114;
$custom-light: #668255;
$custom-dark: #000000;
JSON
{
  "hex": "#285114",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 100.328,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39076,
    "c": 0.10094,
    "h": 137.2
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#285114
secondary
#6E3889
accent
#44E4AF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285114

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

Preview Lab → · Contrast checker → · Palette generator →

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