#285510#285510

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

Color values

HEX#285510
RGBrgb(40, 85, 16)
HSLhsl(99, 68%, 20%)
HSVhsv(99, 81%, 33%)
CMYKcmyk(52.9%, 0%, 81.2%, 66.7%)
CIE-LABlab(31.77, -28.91, 33.22)
CIE-LCHlch(31.77, 44.04, 131.04°)
OKLaboklab(40.22% -0.0802 0.0745)
OKLCHoklch(40.22% 0.109 137.1)
XYZxyz(4.2170, 6.9852, 1.6162)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285510 #3D1055
analogous
#4B5510 #285510 #10551A
triadic
#285510 #102855 #551028
tetradic
#285510 #104B55 #3D1055 #551A10
square
#285510 #104B55 #3D1055 #551A10
split-complementary
#285510 #1A1055 #55104B
monochromatic
#0C1A05 #102106 #285510 #40891A #58BC23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285510#FFFFFF#000000##FFFFFF
##2855101.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)
#584D03
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#255248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #285510;
/* rgb */ color: rgb(40, 85, 16);
/* oklch */ color: oklch(40.2% 0.109 137.1);
Tailwind
colors: {
  custom: {
    50: '#678554',
    500: '#285510',
    950: '#000000',
  },
}
SCSS
$custom: #285510;
$custom-light: #678554;
$custom-dark: #000000;
JSON
{
  "hex": "#285510",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 16
  },
  "hsl": {
    "h": 99.13,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40222,
    "c": 0.10945,
    "h": 137.1
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#285510
secondary
#6E328F
accent
#3DEBAE
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285510

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

Preview Lab → · Contrast checker → · Palette generator →

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