#284111#284111

#284111 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.079 H 132.7°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#284111
RGBrgb(40, 65, 17)
HSLhsl(91, 59%, 16%)
HSVhsv(91, 74%, 25%)
CMYKcmyk(38.5%, 0%, 73.8%, 74.5%)
CIE-LABlab(24.55, -19.16, 25.36)
CIE-LCHlch(24.55, 31.78, 127.06°)
OKLaboklab(34.31% -0.0537 0.0582)
OKLCHoklch(34.31% 0.079 132.7)
XYZxyz(2.8665, 4.2721, 1.2038)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284111 #2A1141
analogous
#404111 #284111 #114112
triadic
#284111 #112841 #411128
tetradic
#284111 #114041 #2A1141 #411211
square
#284111 #114041 #2A1141 #411211
split-complementary
#284111 #121141 #411140
monochromatic
#0F1806 #0F1806 #284111 #46721E #64A22A

Accessibility & contrast

On white

11.32
#284111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#284111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284111
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284111#FFFFFF#000000##FFFFFF
##2841111.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0B
Deuteranopia (green-blind)
#403A15
Tritanopia (blue-blind)
#283E37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #284111;
/* rgb */ color: rgb(40, 65, 17);
/* oklch */ color: oklch(34.3% 0.079 132.7);
Tailwind
colors: {
  custom: {
    50: '#647552',
    500: '#284111',
    950: '#000000',
  },
}
SCSS
$custom: #284111;
$custom-light: #647552;
$custom-dark: #000000;
JSON
{
  "hex": "#284111",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 17
  },
  "hsl": {
    "h": 91.25,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3431,
    "c": 0.07915,
    "h": 132.7
  },
  "luminance": 0.04272
}

Semantic roles & 50–950 ramp

primary
#284111
secondary
#58337B
accent
#46E297
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #284111

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

Preview Lab → · Contrast checker → · Palette generator →

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