#285113#285113

#285113 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.1% C 0.102 H 137.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#285113
RGBrgb(40, 81, 19)
HSLhsl(100, 62%, 20%)
HSVhsv(100, 77%, 32%)
CMYKcmyk(50.6%, 0%, 76.5%, 68.2%)
CIE-LABlab(30.36, -26.85, 30.53)
CIE-LCHlch(30.36, 40.66, 131.33°)
OKLaboklab(39.07% -0.0744 0.0693)
OKLCHoklch(39.07% 0.102 137)
XYZxyz(3.9349, 6.3827, 1.6406)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285113 #3C1351
analogous
#475113 #285113 #13511D
triadic
#285113 #132851 #511328
tetradic
#285113 #134751 #3C1351 #511D13
square
#285113 #134751 #3C1351 #511D13
split-complementary
#285113 #1D1351 #511347
monochromatic
#0C1906 #101F07 #285113 #40831F #59B42A

Accessibility & contrast

On white

9.22
#285113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#285113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285113
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285113#FFFFFF#000000##FFFFFF
##2851131.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A09
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#264E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #285113;
/* rgb */ color: rgb(40, 81, 19);
/* oklch */ color: oklch(39.1% 0.102 137.0);
Tailwind
colors: {
  custom: {
    50: '#668255',
    500: '#285113',
    950: '#000000',
  },
}
SCSS
$custom: #285113;
$custom-light: #668255;
$custom-dark: #000000;
JSON
{
  "hex": "#285113",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 99.677,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39066,
    "c": 0.10171,
    "h": 137
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#285113
secondary
#6D368A
accent
#43E5AE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285113

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

Preview Lab → · Contrast checker → · Palette generator →

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