#285411#285411

#285411 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.107 H 137.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#285411
RGBrgb(40, 84, 17)
HSLhsl(99, 66%, 20%)
HSVhsv(99, 80%, 33%)
CMYKcmyk(52.4%, 0%, 79.8%, 67.1%)
CIE-LABlab(31.42, -28.39, 32.47)
CIE-LCHlch(31.42, 43.13, 131.17°)
OKLaboklab(39.93% -0.0787 0.0731)
OKLCHoklch(39.93% 0.107 137.1)
XYZxyz(4.1464, 6.8320, 1.6304)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285411 #3D1154
analogous
#4A5411 #285411 #11541B
triadic
#285411 #112854 #541128
tetradic
#285411 #114A54 #3D1154 #541B11
square
#285411 #114A54 #3D1154 #541B11
split-complementary
#285411 #1B1154 #54114A
monochromatic
#0C1905 #102107 #285411 #40871B #58BA26

Accessibility & contrast

On white

8.87
#285411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#285411 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285411
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285411#FFFFFF#000000##FFFFFF
##2854111.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C05
Deuteranopia (green-blind)
#514918
Tritanopia (blue-blind)
#255147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #285411;
/* rgb */ color: rgb(40, 84, 17);
/* oklch */ color: oklch(39.9% 0.107 137.1);
Tailwind
colors: {
  custom: {
    50: '#678454',
    500: '#285411',
    950: '#000000',
  },
}
SCSS
$custom: #285411;
$custom-light: #678454;
$custom-dark: #000000;
JSON
{
  "hex": "#285411",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 17
  },
  "hsl": {
    "h": 99.403,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39935,
    "c": 0.1074,
    "h": 137.1
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#285411
secondary
#6E348D
accent
#3FE9AF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285411

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

Preview Lab → · Contrast checker → · Palette generator →

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