#285E0E#285E0E

#285E0E is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.9% C 0.123 H 138.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#285E0E
RGBrgb(40, 94, 14)
HSLhsl(101, 74%, 21%)
HSVhsv(101, 85%, 37%)
CMYKcmyk(57.4%, 0%, 85.1%, 63.1%)
CIE-LABlab(34.98, -32.93, 37.02)
CIE-LCHlch(34.98, 49.54, 131.66°)
OKLaboklab(42.86% -0.0911 0.0821)
OKLCHoklch(42.86% 0.123 138)
XYZxyz(4.9569, 8.4878, 1.7925)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E0E #440E5E
analogous
#505E0E #285E0E #0E5E1C
triadic
#285E0E #0E285E #5E0E28
tetradic
#285E0E #0E505E #440E5E #5E1C0E
square
#285E0E #0E505E #440E5E #5E1C0E
split-complementary
#285E0E #1C0E5E #5E0E50
monochromatic
#0B1B04 #112906 #285E0E #3F9316 #55C91E

Accessibility & contrast

On white

7.78
#285E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#285E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E0E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E0E#FFFFFF#000000##FFFFFF
##285E0E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5A5117
Tritanopia (blue-blind)
#245A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285e0e;
/* rgb */ color: rgb(40, 94, 14);
/* oklch */ color: oklch(42.9% 0.123 138.0);
Tailwind
colors: {
  custom: {
    50: '#698c54',
    500: '#285e0e',
    950: '#000000',
  },
}
SCSS
$custom: #285e0e;
$custom-light: #698c54;
$custom-dark: #000000;
JSON
{
  "hex": "#285e0e",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 14
  },
  "hsl": {
    "h": 100.5,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42858,
    "c": 0.12267,
    "h": 138
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#285E0E
secondary
#763098
accent
#37F1B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285E0E

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

Preview Lab → · Contrast checker → · Palette generator →

#285E0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva