#285013#285013

#285013 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.100 H 136.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#285013
RGBrgb(40, 80, 19)
HSLhsl(99, 62%, 19%)
HSVhsv(99, 76%, 31%)
CMYKcmyk(50%, 0%, 76.3%, 68.6%)
CIE-LABlab(30.00, -26.39, 30.16)
CIE-LCHlch(30.00, 40.07, 131.18°)
OKLaboklab(38.77% -0.0732 0.0686)
OKLCHoklch(38.77% 0.1 136.9)
XYZxyz(3.8612, 6.2352, 1.6160)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285013 #3B1350
analogous
#475013 #285013 #13501D
triadic
#285013 #132850 #501328
tetradic
#285013 #134750 #3B1350 #501D13
square
#285013 #134750 #3B1350 #501D13
split-complementary
#285013 #1D1350 #501347
monochromatic
#0C1906 #0F1F07 #285013 #41811F #59B32A

Accessibility & contrast

On white

9.35
#285013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#285013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285013
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285013#FFFFFF#000000##FFFFFF
##2850131.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490A
Deuteranopia (green-blind)
#4E4519
Tritanopia (blue-blind)
#264D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #285013;
/* rgb */ color: rgb(40, 80, 19);
/* oklch */ color: oklch(38.8% 0.100 136.9);
Tailwind
colors: {
  custom: {
    50: '#668155',
    500: '#285013',
    950: '#000000',
  },
}
SCSS
$custom: #285013;
$custom-light: #668155;
$custom-dark: #000000;
JSON
{
  "hex": "#285013",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 99.344,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38771,
    "c": 0.10026,
    "h": 136.9
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#285013
secondary
#6C3689
accent
#43E5AD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285013

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

Preview Lab → · Contrast checker → · Palette generator →

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