#284412#284412

#284412 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.2% C 0.083 H 133.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#284412
RGBrgb(40, 68, 18)
HSLhsl(94, 58%, 17%)
HSVhsv(94, 74%, 27%)
CMYKcmyk(41.2%, 0%, 73.5%, 73.3%)
CIE-LABlab(25.65, -20.62, 26.04)
CIE-LCHlch(25.65, 33.22, 128.37°)
OKLaboklab(35.21% -0.0576 0.0598)
OKLCHoklch(35.21% 0.083 133.9)
XYZxyz(3.0513, 4.6289, 1.3048)
Luminance0.0463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284412 #2E1244
analogous
#414412 #284412 #124415
triadic
#284412 #122844 #441228
tetradic
#284412 #124144 #2E1244 #441512
square
#284412 #124144 #2E1244 #441512
split-complementary
#284412 #151244 #441241
monochromatic
#0E1806 #0E1806 #284412 #44741F #61A52C

Accessibility & contrast

On white

10.90
#284412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#284412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284412
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284412#FFFFFF#000000##FFFFFF
##2844121.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0B
Deuteranopia (green-blind)
#433C16
Tritanopia (blue-blind)
#28413A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #284412;
/* rgb */ color: rgb(40, 68, 18);
/* oklch */ color: oklch(35.2% 0.083 133.9);
Tailwind
colors: {
  custom: {
    50: '#647853',
    500: '#284412',
    950: '#000000',
  },
}
SCSS
$custom: #284412;
$custom-light: #647853;
$custom-dark: #000000;
JSON
{
  "hex": "#284412",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 18
  },
  "hsl": {
    "h": 93.6,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35209,
    "c": 0.08297,
    "h": 133.9
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#284412
secondary
#5D357D
accent
#46E19D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284412

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

Preview Lab → · Contrast checker → · Palette generator →

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