#042908#042908

#042908 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.6% C 0.071 H 145.0°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#042908
RGBrgb(4, 41, 8)
HSLhsl(126, 82%, 9%)
HSVhsv(126, 90%, 16%)
CMYKcmyk(90.2%, 0%, 80.5%, 83.9%)
CIE-LABlab(13.41, -21.49, 16.00)
CIE-LCHlch(13.41, 26.79, 143.33°)
OKLaboklab(24.64% -0.058 0.0407)
OKLCHoklch(24.64% 0.071 145)
XYZxyz(0.8868, 1.6291, 0.4974)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042908 #290425
analogous
#132904 #042908 #04291B
triadic
#042908 #080429 #290804
tetradic
#042908 #041329 #290425 #291B04
square
#042908 #041329 #290425 #291B04
split-complementary
#042908 #1B0429 #290413
monochromatic
#031C05 #031C05 #042908 #096113 #0F991E

Accessibility & contrast

On white

15.84
#042908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#042908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042908
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042908#FFFFFF#000000##FFFFFF
##0429081.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2405
Deuteranopia (green-blind)
#26210B
Tritanopia (blue-blind)
#002822
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #042908;
/* rgb */ color: rgb(4, 41, 8);
/* oklch */ color: oklch(24.6% 0.071 145.0);
Tailwind
colors: {
  custom: {
    50: '#4a634a',
    500: '#042908',
    950: '#000000',
  },
}
SCSS
$custom: #042908;
$custom-light: #4a634a;
$custom-dark: #000000;
JSON
{
  "hex": "#042908",
  "rgb": {
    "r": 4,
    "g": 41,
    "b": 8
  },
  "hsl": {
    "h": 126.486,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.2464,
    "c": 0.07087,
    "h": 145
  },
  "luminance": 0.01629
}

Semantic roles & 50–950 ramp

primary
#042908
secondary
#6C1D63
accent
#2FE3F9
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #042908

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

Preview Lab → · Contrast checker → · Palette generator →

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