#283404#283404

#283404 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.3% C 0.070 H 123.1°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#283404
RGBrgb(40, 52, 4)
HSLhsl(75, 86%, 11%)
HSVhsv(75, 92%, 20%)
CMYKcmyk(23.1%, 0%, 92.3%, 79.6%)
CIE-LABlab(19.70, -13.04, 25.88)
CIE-LCHlch(19.70, 28.98, 116.74°)
OKLaboklab(30.34% -0.0384 0.0588)
OKLCHoklch(30.34% 0.07 123.1)
XYZxyz(2.1250, 2.9159, 0.5657)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283404 #100434
analogous
#342804 #283404 #103404
triadic
#283404 #042834 #340428
tetradic
#283404 #043428 #100434 #340410
square
#283404 #043428 #100434 #340410
split-complementary
#283404 #041034 #280434
monochromatic
#161C02 #161C02 #283404 #546D08 #7FA60D

Accessibility & contrast

On white

13.26
#283404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#283404 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283404
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283404#FFFFFF#000000##FFFFFF
##2834041.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#363008
Tritanopia (blue-blind)
#2B312B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #283404;
/* rgb */ color: rgb(40, 52, 4);
/* oklch */ color: oklch(30.3% 0.070 123.1);
Tailwind
colors: {
  custom: {
    50: '#646b49',
    500: '#283404',
    950: '#000000',
  },
}
SCSS
$custom: #283404;
$custom-light: #646b49;
$custom-dark: #000000;
JSON
{
  "hex": "#283404",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 4
  },
  "hsl": {
    "h": 75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.30337,
    "c": 0.07018,
    "h": 123.1
  },
  "luminance": 0.02916
}

Semantic roles & 50–950 ramp

primary
#283404
secondary
#341E76
accent
#2CFC60
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283404

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

Preview Lab → · Contrast checker → · Palette generator →

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