#285011#285011

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

Color values

HEX#285011
RGBrgb(40, 80, 17)
HSLhsl(98, 65%, 19%)
HSVhsv(98, 79%, 31%)
CMYKcmyk(50%, 0%, 78.8%, 68.6%)
CIE-LABlab(29.98, -26.56, 31.02)
CIE-LCHlch(29.98, 40.84, 130.57°)
OKLaboklab(38.75% -0.0738 0.07)
OKLCHoklch(38.75% 0.102 136.5)
XYZxyz(3.8448, 6.2287, 1.5299)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285011 #391150
analogous
#485011 #285011 #11501A
triadic
#285011 #112850 #501128
tetradic
#285011 #114850 #391150 #501A11
square
#285011 #114850 #391150 #501A11
split-complementary
#285011 #1A1150 #501148
monochromatic
#0D1905 #0F1E06 #285011 #41821C #5AB526

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285011#FFFFFF#000000##FFFFFF
##2850111.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)
#534906
Deuteranopia (green-blind)
#4E4517
Tritanopia (blue-blind)
#264D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #285011;
/* rgb */ color: rgb(40, 80, 17);
/* oklch */ color: oklch(38.8% 0.102 136.5);
Tailwind
colors: {
  custom: {
    50: '#668154',
    500: '#285011',
    950: '#000000',
  },
}
SCSS
$custom: #285011;
$custom-light: #668154;
$custom-dark: #000000;
JSON
{
  "hex": "#285011",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 98.095,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38752,
    "c": 0.10174,
    "h": 136.5
  },
  "luminance": 0.06229
}

Semantic roles & 50–950 ramp

primary
#285011
secondary
#6A3389
accent
#40E8AB
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285011

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

Preview Lab → · Contrast checker → · Palette generator →

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