#04280E#04280E

#04280E is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.4% C 0.063 H 148.9°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#04280E
RGBrgb(4, 40, 14)
HSLhsl(137, 82%, 9%)
HSVhsv(137, 90%, 16%)
CMYKcmyk(90%, 0%, 65%, 84.3%)
CIE-LABlab(13.08, -20.02, 12.93)
CIE-LCHlch(13.08, 23.83, 147.15°)
OKLaboklab(24.4% -0.0538 0.0325)
OKLCHoklch(24.4% 0.063 148.9)
XYZxyz(0.8881, 1.5750, 0.6726)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04280E #28041E
analogous
#0C2804 #04280E #042820
triadic
#04280E #0E0428 #280E04
tetradic
#04280E #040C28 #28041E #282004
square
#04280E #040C28 #28041E #282004
split-complementary
#04280E #200428 #28040C
monochromatic
#031C0A #031C0A #04280E #0A6021 #0F9735

Accessibility & contrast

On white

15.97
#04280E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#04280E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04280E
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04280E#FFFFFF#000000##FFFFFF
##04280E1.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28240C
Deuteranopia (green-blind)
#242010
Tritanopia (blue-blind)
#002722
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #04280e;
/* rgb */ color: rgb(4, 40, 14);
/* oklch */ color: oklch(24.4% 0.063 148.9);
Tailwind
colors: {
  custom: {
    50: '#49624d',
    500: '#04280e',
    950: '#000000',
  },
}
SCSS
$custom: #04280e;
$custom-light: #49624d;
$custom-dark: #000000;
JSON
{
  "hex": "#04280e",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 14
  },
  "hsl": {
    "h": 136.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24395,
    "c": 0.06285,
    "h": 148.9
  },
  "luminance": 0.01575
}

Semantic roles & 50–950 ramp

primary
#04280E
secondary
#6B1D55
accent
#30C0F8
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #04280E

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

Preview Lab → · Contrast checker → · Palette generator →

#04280E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva