#285110#285110

#285110 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.0% C 0.104 H 136.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#285110
RGBrgb(40, 81, 16)
HSLhsl(98, 67%, 19%)
HSVhsv(98, 80%, 32%)
CMYKcmyk(50.6%, 0%, 80.2%, 68.2%)
CIE-LABlab(30.33, -27.10, 31.79)
CIE-LCHlch(30.33, 41.78, 130.45°)
OKLaboklab(39.04% -0.0753 0.0715)
OKLCHoklch(39.04% 0.104 136.5)
XYZxyz(3.9109, 6.3731, 1.5142)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285110 #391051
analogous
#495110 #285110 #105119
triadic
#285110 #102851 #511028
tetradic
#285110 #104951 #391051 #511910
square
#285110 #104951 #391051 #511910
split-complementary
#285110 #191051 #511049
monochromatic
#0D1A05 #0F1E06 #285110 #41841A #5AB724

Accessibility & contrast

On white

9.23
#285110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#285110 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285110
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285110#FFFFFF#000000##FFFFFF
##2851101.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A05
Deuteranopia (green-blind)
#4F4617
Tritanopia (blue-blind)
#264E44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #285110;
/* rgb */ color: rgb(40, 81, 16);
/* oklch */ color: oklch(39.0% 0.104 136.5);
Tailwind
colors: {
  custom: {
    50: '#678253',
    500: '#285110',
    950: '#000000',
  },
}
SCSS
$custom: #285110;
$custom-light: #678253;
$custom-dark: #000000;
JSON
{
  "hex": "#285110",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 97.846,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3904,
    "c": 0.10385,
    "h": 136.5
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#285110
secondary
#6A328B
accent
#3EEAAA
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285110

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

Preview Lab → · Contrast checker → · Palette generator →

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