#042803#042803

#042803 is a very dark, moderate green. Relative luminance 0.015; OKLCH L 24.2% C 0.075 H 142.3°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#042803
RGBrgb(4, 40, 3)
HSLhsl(118, 86%, 8%)
HSVhsv(118, 93%, 16%)
CMYKcmyk(90%, 0%, 92.5%, 84.3%)
CIE-LABlab(12.92, -21.89, 17.39)
CIE-LCHlch(12.92, 27.96, 141.54°)
OKLaboklab(24.22% -0.0595 0.046)
OKLCHoklch(24.22% 0.075 142.3)
XYZxyz(0.8252, 1.5499, 0.3418)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042803 #270328
analogous
#162803 #042803 #032814
triadic
#042803 #030428 #280304
tetradic
#042803 #031628 #270328 #281403
square
#042803 #031628 #270328 #281403
split-complementary
#042803 #140328 #280316
monochromatic
#031C02 #031C02 #042803 #0A6107 #0F9A0C

Accessibility & contrast

On white

16.03
#042803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#042803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042803
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042803#FFFFFF#000000##FFFFFF
##0428031.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#252006
Tritanopia (blue-blind)
#002621
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #042803;
/* rgb */ color: rgb(4, 40, 3);
/* oklch */ color: oklch(24.2% 0.075 142.3);
Tailwind
colors: {
  custom: {
    50: '#496248',
    500: '#042803',
    950: '#000000',
  },
}
SCSS
$custom: #042803;
$custom-light: #496248;
$custom-dark: #000000;
JSON
{
  "hex": "#042803",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 118.378,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24216,
    "c": 0.07522,
    "h": 142.3
  },
  "luminance": 0.0155
}

Semantic roles & 50–950 ramp

primary
#042803
secondary
#6A1B6C
accent
#2CFCF7
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #042803

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

Preview Lab → · Contrast checker → · Palette generator →

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