#042200#042200

#042200 is a very dark, moderate green. Relative luminance 0.012; OKLCH L 22.1% C 0.071 H 140.2°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#042200
RGBrgb(4, 34, 0)
HSLhsl(113, 100%, 7%)
HSVhsv(113, 100%, 13%)
CMYKcmyk(88.2%, 0%, 100%, 86.7%)
CIE-LABlab(10.33, -19.05, 15.05)
CIE-LCHlch(10.33, 24.28, 141.69°)
OKLaboklab(22.05% -0.0548 0.0456)
OKLCHoklch(22.05% 0.071 140.2)
XYZxyz(0.6221, 1.1698, 0.1930)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042200 #1E0022
analogous
#152200 #042200 #00220D
triadic
#042200 #000422 #220004
tetradic
#042200 #001522 #1E0022 #220D00
square
#042200 #001522 #1E0022 #220D00
split-complementary
#042200 #0D0022 #220015
monochromatic
#041F00 #041F00 #042200 #0B5F00 #129C00

Accessibility & contrast

On white

17.02
#042200 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#042200 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042200
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042200#FFFFFF#000000##FFFFFF
##0422001.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E00
Deuteranopia (green-blind)
#201B02
Tritanopia (blue-blind)
#01201B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #042200;
/* rgb */ color: rgb(4, 34, 0);
/* oklch */ color: oklch(22.1% 0.071 140.2);
Tailwind
colors: {
  custom: {
    50: '#475d46',
    500: '#042200',
    950: '#000000',
  },
}
SCSS
$custom: #042200;
$custom-light: #475d46;
$custom-dark: #000000;
JSON
{
  "hex": "#042200",
  "rgb": {
    "r": 4,
    "g": 34,
    "b": 0
  },
  "hsl": {
    "h": 112.941,
    "s": 100,
    "l": 6.667
  },
  "oklch": {
    "l": 0.2205,
    "c": 0.07133,
    "h": 140.2
  },
  "luminance": 0.0117
}

Semantic roles & 50–950 ramp

primary
#042200
secondary
#61136B
accent
#29FFE6
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000400
muted
#777977

Preview Lab

Preview with #042200

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

Preview Lab → · Contrast checker → · Palette generator →

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