#042810#042810

#042810 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.4% C 0.061 H 150.6°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#042810
RGBrgb(4, 40, 16)
HSLhsl(140, 82%, 9%)
HSVhsv(140, 90%, 16%)
CMYKcmyk(90%, 0%, 60%, 84.3%)
CIE-LABlab(13.11, -19.61, 11.91)
CIE-LCHlch(13.11, 22.95, 148.73°)
OKLaboklab(24.44% -0.0527 0.0297)
OKLCHoklch(24.44% 0.061 150.6)
XYZxyz(0.9023, 1.5807, 0.7477)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042810 #28041C
analogous
#0A2804 #042810 #042822
triadic
#042810 #100428 #281004
tetradic
#042810 #040A28 #28041C #282204
square
#042810 #040A28 #28041C #282204
split-complementary
#042810 #220428 #28040A
monochromatic
#031C0B #031C0B #042810 #0A6026 #0F973D

Accessibility & contrast

On white

15.96
#042810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#042810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042810
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042810#FFFFFF#000000##FFFFFF
##0428101.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042810;
/* rgb */ color: rgb(4, 40, 16);
/* oklch */ color: oklch(24.4% 0.061 150.6);
Tailwind
colors: {
  custom: {
    50: '#49624e',
    500: '#042810',
    950: '#000000',
  },
}
SCSS
$custom: #042810;
$custom-light: #49624e;
$custom-dark: #000000;
JSON
{
  "hex": "#042810",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 16
  },
  "hsl": {
    "h": 140,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24436,
    "c": 0.06054,
    "h": 150.6
  },
  "luminance": 0.01581
}

Semantic roles & 50–950 ramp

primary
#042810
secondary
#6B1D51
accent
#30B5F8
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #042810

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

Preview Lab → · Contrast checker → · Palette generator →

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