#042603#042603

#042603 is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.5% C 0.072 H 142.3°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#042603
RGBrgb(4, 38, 3)
HSLhsl(118, 85%, 8%)
HSVhsv(118, 92%, 15%)
CMYKcmyk(89.5%, 0%, 92.1%, 85.1%)
CIE-LABlab(12.08, -20.95, 16.25)
CIE-LCHlch(12.08, 26.52, 142.20°)
OKLaboklab(23.52% -0.0573 0.0443)
OKLCHoklch(23.52% 0.072 142.3)
XYZxyz(0.7596, 1.4185, 0.3199)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042603 #250326
analogous
#152603 #042603 #032613
triadic
#042603 #030426 #260304
tetradic
#042603 #031526 #250326 #261303
square
#042603 #031526 #250326 #261303
split-complementary
#042603 #130326 #260315
monochromatic
#031C02 #031C02 #042603 #0A5F07 #10970C

Accessibility & contrast

On white

16.36
#042603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#042603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042603
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042603#FFFFFF#000000##FFFFFF
##0426031.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#231F06
Tritanopia (blue-blind)
#00251F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #042603;
/* rgb */ color: rgb(4, 38, 3);
/* oklch */ color: oklch(23.5% 0.072 142.3);
Tailwind
colors: {
  custom: {
    50: '#486148',
    500: '#042603',
    950: '#000000',
  },
}
SCSS
$custom: #042603;
$custom-light: #486148;
$custom-dark: #000000;
JSON
{
  "hex": "#042603",
  "rgb": {
    "r": 4,
    "g": 38,
    "b": 3
  },
  "hsl": {
    "h": 118.286,
    "s": 85.366,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23517,
    "c": 0.07242,
    "h": 142.3
  },
  "luminance": 0.01419
}

Semantic roles & 50–950 ramp

primary
#042603
secondary
#681B6A
accent
#2CFCF6
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010500
muted
#777977

Preview Lab

Preview with #042603

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

Preview Lab → · Contrast checker → · Palette generator →

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