#285314#285314

#285314 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.104 H 137.5°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#285314
RGBrgb(40, 83, 20)
HSLhsl(101, 61%, 20%)
HSVhsv(101, 76%, 33%)
CMYKcmyk(51.8%, 0%, 75.9%, 67.5%)
CIE-LABlab(31.09, -27.68, 30.84)
CIE-LCHlch(31.09, 41.44, 131.91°)
OKLaboklab(39.67% -0.0766 0.0701)
OKLCHoklch(39.67% 0.104 137.5)
XYZxyz(4.0945, 6.6879, 1.7368)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285314 #3F1453
analogous
#485314 #285314 #14531F
triadic
#285314 #142853 #531428
tetradic
#285314 #144853 #3F1453 #531F14
square
#285314 #144853 #3F1453 #531F14
split-complementary
#285314 #1F1453 #531448
monochromatic
#0C1906 #102208 #285314 #408420 #58B62C

Accessibility & contrast

On white

8.98
#285314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#285314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285314
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285314#FFFFFF#000000##FFFFFF
##2853141.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0A
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#255046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #285314;
/* rgb */ color: rgb(40, 83, 20);
/* oklch */ color: oklch(39.7% 0.104 137.5);
Tailwind
colors: {
  custom: {
    50: '#678456',
    500: '#285314',
    950: '#000000',
  },
}
SCSS
$custom: #285314;
$custom-light: #678456;
$custom-dark: #000000;
JSON
{
  "hex": "#285314",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 100.952,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39666,
    "c": 0.10383,
    "h": 137.5
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

primary
#285314
secondary
#71388B
accent
#44E4B1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285314

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

Preview Lab → · Contrast checker → · Palette generator →

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