#284910#284910

#284910 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.7% C 0.092 H 134.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#284910
RGBrgb(40, 73, 16)
HSLhsl(95, 64%, 17%)
HSVhsv(95, 78%, 29%)
CMYKcmyk(45.2%, 0%, 78.1%, 71.4%)
CIE-LABlab(27.44, -23.31, 28.87)
CIE-LCHlch(27.44, 37.11, 128.91°)
OKLaboklab(36.67% -0.0651 0.0654)
OKLCHoklch(36.67% 0.092 134.9)
XYZxyz(3.3511, 5.2534, 1.3276)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284910 #311049
analogous
#444910 #284910 #104915
triadic
#284910 #102849 #491028
tetradic
#284910 #104449 #311049 #491510
square
#284910 #104449 #311049 #491510
split-complementary
#284910 #151049 #491044
monochromatic
#0E1906 #0E1906 #284910 #447B1B #5FAD26

Accessibility & contrast

On white

10.24
#284910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#284910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284910
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284910#FFFFFF#000000##FFFFFF
##2849101.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4307
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#27463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #284910;
/* rgb */ color: rgb(40, 73, 16);
/* oklch */ color: oklch(36.7% 0.092 134.9);
Tailwind
colors: {
  custom: {
    50: '#657c52',
    500: '#284910',
    950: '#000000',
  },
}
SCSS
$custom: #284910;
$custom-light: #657c52;
$custom-dark: #000000;
JSON
{
  "hex": "#284910",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 94.737,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3667,
    "c": 0.09225,
    "h": 134.9
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#284910
secondary
#613283
accent
#41E7A1
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284910

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

Preview Lab → · Contrast checker → · Palette generator →

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