#285E0F#285E0F

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

Color values

HEX#285E0F
RGBrgb(40, 94, 15)
HSLhsl(101, 72%, 21%)
HSVhsv(101, 84%, 37%)
CMYKcmyk(57.4%, 0%, 84%, 63.1%)
CIE-LABlab(34.98, -32.87, 36.68)
CIE-LCHlch(34.98, 49.25, 131.86°)
OKLaboklab(42.86% -0.0909 0.0816)
OKLCHoklch(42.86% 0.122 138.1)
XYZxyz(4.9638, 8.4906, 1.8291)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E0F #450F5E
analogous
#505E0F #285E0F #0F5E1E
triadic
#285E0F #0F285E #5E0F28
tetradic
#285E0F #0F505E #450F5E #5E1E0F
square
#285E0F #0F505E #450F5E #5E1E0F
split-complementary
#285E0F #1E0F5E #5E0F50
monochromatic
#0B1A04 #122907 #285E0F #3E9317 #55C820

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285E0F#FFFFFF#000000##FFFFFF
##285E0F1.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)
#5A5118
Tritanopia (blue-blind)
#235A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285e0f;
/* rgb */ color: rgb(40, 94, 15);
/* oklch */ color: oklch(42.9% 0.122 138.1);
Tailwind
colors: {
  custom: {
    50: '#698c55',
    500: '#285e0f',
    950: '#000000',
  },
}
SCSS
$custom: #285e0f;
$custom-light: #698c55;
$custom-dark: #000000;
JSON
{
  "hex": "#285e0f",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 101.013,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42864,
    "c": 0.12213,
    "h": 138.1
  },
  "luminance": 0.08491
}

Semantic roles & 50–950 ramp

primary
#285E0F
secondary
#773197
accent
#39EFB5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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