#284116#284116

#284116 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.074 H 134.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#284116
RGBrgb(40, 65, 22)
HSLhsl(95, 49%, 17%)
HSVhsv(95, 66%, 25%)
CMYKcmyk(38.5%, 0%, 66.2%, 74.5%)
CIE-LABlab(24.61, -18.61, 22.79)
CIE-LCHlch(24.61, 29.42, 129.24°)
OKLaboklab(34.37% -0.0517 0.0534)
OKLCHoklch(34.37% 0.074 134.1)
XYZxyz(2.9101, 4.2895, 1.4335)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284116 #2F1641
analogous
#3E4116 #284116 #16411A
triadic
#284116 #162841 #411628
tetradic
#284116 #163E41 #2F1641 #411A16
square
#284116 #163E41 #2F1641 #411A16
split-complementary
#284116 #1A1641 #41163E
monochromatic
#0E1708 #0E1708 #284116 #446F25 #609C35

Accessibility & contrast

On white

11.30
#284116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#284116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284116
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284116#FFFFFF#000000##FFFFFF
##2841161.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C11
Deuteranopia (green-blind)
#403A19
Tritanopia (blue-blind)
#283E38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #284116;
/* rgb */ color: rgb(40, 65, 22);
/* oklch */ color: oklch(34.4% 0.074 134.1);
Tailwind
colors: {
  custom: {
    50: '#647655',
    500: '#284116',
    950: '#000000',
  },
}
SCSS
$custom: #284116;
$custom-light: #647655;
$custom-dark: #000000;
JSON
{
  "hex": "#284116",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 22
  },
  "hsl": {
    "h": 94.884,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34372,
    "c": 0.0743,
    "h": 134.1
  },
  "luminance": 0.0429
}

Semantic roles & 50–950 ramp

primary
#284116
secondary
#5E3A78
accent
#4FD99F
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#050803
muted
#7A7B78

Preview Lab

Preview with #284116

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

Preview Lab → · Contrast checker → · Palette generator →

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