#285511#285511

#285511 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.2% C 0.109 H 137.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#285511
RGBrgb(40, 85, 17)
HSLhsl(100, 67%, 20%)
HSVhsv(100, 80%, 33%)
CMYKcmyk(52.9%, 0%, 80%, 66.7%)
CIE-LABlab(31.78, -28.84, 32.82)
CIE-LCHlch(31.78, 43.69, 131.30°)
OKLaboklab(40.23% -0.0799 0.0738)
OKLCHoklch(40.23% 0.109 137.3)
XYZxyz(4.2246, 6.9883, 1.6565)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285511 #3E1155
analogous
#4A5511 #285511 #11551C
triadic
#285511 #112855 #551128
tetradic
#285511 #114A55 #3E1155 #551C11
square
#285511 #114A55 #3E1155 #551C11
split-complementary
#285511 #1C1155 #55114A
monochromatic
#0C1A05 #102207 #285511 #40881B #58BB25

Accessibility & contrast

On white

8.76
#285511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#285511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285511
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285511#FFFFFF#000000##FFFFFF
##2855111.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#255248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #285511;
/* rgb */ color: rgb(40, 85, 17);
/* oklch */ color: oklch(40.2% 0.109 137.3);
Tailwind
colors: {
  custom: {
    50: '#678554',
    500: '#285511',
    950: '#000000',
  },
}
SCSS
$custom: #285511;
$custom-light: #678554;
$custom-dark: #000000;
JSON
{
  "hex": "#285511",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 17
  },
  "hsl": {
    "h": 99.706,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.4023,
    "c": 0.1088,
    "h": 137.3
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#285511
secondary
#70348E
accent
#3EEAB0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285511

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

Preview Lab → · Contrast checker → · Palette generator →

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