#285010#285010

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

Color values

HEX#285010
RGBrgb(40, 80, 16)
HSLhsl(98, 67%, 19%)
HSVhsv(98, 80%, 31%)
CMYKcmyk(50%, 0%, 80%, 68.6%)
CIE-LABlab(29.97, -26.64, 31.43)
CIE-LCHlch(29.97, 41.20, 130.28°)
OKLaboklab(38.74% -0.0741 0.0707)
OKLCHoklch(38.74% 0.102 136.3)
XYZxyz(3.8372, 6.2256, 1.4896)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285010 #381050
analogous
#485010 #285010 #105018
triadic
#285010 #102850 #501028
tetradic
#285010 #104850 #381050 #501810
square
#285010 #104850 #381050 #501810
split-complementary
#285010 #181050 #501048
monochromatic
#0D1A05 #0F1D06 #285010 #42831A #5BB624

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285010#FFFFFF#000000##FFFFFF
##2850101.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)
#534905
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#264D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #285010;
/* rgb */ color: rgb(40, 80, 16);
/* oklch */ color: oklch(38.7% 0.102 136.3);
Tailwind
colors: {
  custom: {
    50: '#668153',
    500: '#285010',
    950: '#000000',
  },
}
SCSS
$custom: #285010;
$custom-light: #668153;
$custom-dark: #000000;
JSON
{
  "hex": "#285010",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 97.5,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38744,
    "c": 0.10244,
    "h": 136.3
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#285010
secondary
#69328A
accent
#3EEAA9
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285010

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

Preview Lab → · Contrast checker → · Palette generator →

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