#042307#042307

#042307 is a very dark, moderate green. Relative luminance 0.012; OKLCH L 22.5% C 0.063 H 145.1°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#042307
RGBrgb(4, 35, 7)
HSLhsl(126, 79%, 8%)
HSVhsv(126, 89%, 14%)
CMYKcmyk(88.6%, 0%, 80%, 86.3%)
CIE-LABlab(10.87, -18.62, 12.96)
CIE-LCHlch(10.87, 22.68, 145.17°)
OKLaboklab(22.53% -0.0514 0.036)
OKLCHoklch(22.53% 0.063 145.1)
XYZxyz(0.6894, 1.2431, 0.4046)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042307 #230420
analogous
#112304 #042307 #042316
triadic
#042307 #070423 #230704
tetradic
#042307 #041123 #230420 #231604
square
#042307 #041123 #230420 #231604
split-complementary
#042307 #160423 #230411
monochromatic
#031B05 #031B05 #042307 #0A5A12 #11911D

Accessibility & contrast

On white

16.82
#042307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#042307 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042307
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042307#FFFFFF#000000##FFFFFF
##0423071.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F05
Deuteranopia (green-blind)
#201C09
Tritanopia (blue-blind)
#00221D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #042307;
/* rgb */ color: rgb(4, 35, 7);
/* oklch */ color: oklch(22.5% 0.063 145.1);
Tailwind
colors: {
  custom: {
    50: '#485e4a',
    500: '#042307',
    950: '#000000',
  },
}
SCSS
$custom: #042307;
$custom-light: #485e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#042307",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 7
  },
  "hsl": {
    "h": 125.806,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.22534,
    "c": 0.06276,
    "h": 145.1
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#042307
secondary
#661D5F
accent
#32E3F6
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #042307

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

Preview Lab → · Contrast checker → · Palette generator →

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