#284104#284104

#284104 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.089 H 130.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#284104
RGBrgb(40, 65, 4)
HSLhsl(85, 88%, 14%)
HSVhsv(85, 94%, 25%)
CMYKcmyk(38.5%, 0%, 93.8%, 74.5%)
CIE-LABlab(24.45, -20.17, 30.91)
CIE-LCHlch(24.45, 36.91, 123.13°)
OKLaboklab(34.2% -0.0576 0.0676)
OKLCHoklch(34.2% 0.089 130.4)
XYZxyz(2.7873, 4.2404, 0.7865)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284104 #1D0441
analogous
#413B04 #284104 #094104
triadic
#284104 #042841 #410428
tetradic
#284104 #04413B #1D0441 #410409
square
#284104 #04413B #1D0441 #410409
split-complementary
#284104 #040941 #3B0441
monochromatic
#121D02 #121D02 #284104 #4B7B08 #6FB40B

Accessibility & contrast

On white

11.36
#284104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284104
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284104#FFFFFF#000000##FFFFFF
##2841041.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#41390B
Tritanopia (blue-blind)
#293E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #284104;
/* rgb */ color: rgb(40, 65, 4);
/* oklch */ color: oklch(34.2% 0.089 130.4);
Tailwind
colors: {
  custom: {
    50: '#65754b',
    500: '#284104',
    950: '#000000',
  },
}
SCSS
$custom: #284104;
$custom-light: #65754b;
$custom-dark: #000000;
JSON
{
  "hex": "#284104",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 84.59,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34196,
    "c": 0.08886,
    "h": 130.4
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#284104
secondary
#471F82
accent
#29FF81
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284104

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

Preview Lab → · Contrast checker → · Palette generator →

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