#285710#285710

#285710 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.8% C 0.112 H 137.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#285710
RGBrgb(40, 87, 16)
HSLhsl(100, 69%, 20%)
HSVhsv(100, 82%, 34%)
CMYKcmyk(54%, 0%, 81.6%, 65.9%)
CIE-LABlab(32.49, -29.80, 33.92)
CIE-LCHlch(32.49, 45.15, 131.30°)
OKLaboklab(40.81% -0.0826 0.0759)
OKLCHoklch(40.81% 0.112 137.4)
XYZxyz(4.3767, 7.3046, 1.6694)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285710 #3F1057
analogous
#4C5710 #285710 #10571B
triadic
#285710 #102857 #571028
tetradic
#285710 #104C57 #3F1057 #571B10
square
#285710 #104C57 #3F1057 #571B10
split-complementary
#285710 #1B1057 #57104C
monochromatic
#0C1A05 #102306 #285710 #408B1A #58BE23

Accessibility & contrast

On white

8.53
#285710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#285710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285710
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285710#FFFFFF#000000##FFFFFF
##2857101.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F03
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#25544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #285710;
/* rgb */ color: rgb(40, 87, 16);
/* oklch */ color: oklch(40.8% 0.112 137.4);
Tailwind
colors: {
  custom: {
    50: '#688754',
    500: '#285710',
    950: '#000000',
  },
}
SCSS
$custom: #285710;
$custom-light: #688754;
$custom-dark: #000000;
JSON
{
  "hex": "#285710",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 99.718,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40812,
    "c": 0.1122,
    "h": 137.4
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#285710
secondary
#713290
accent
#3CECB0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285710

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

Preview Lab → · Contrast checker → · Palette generator →

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