#042503#042503

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

Color values

HEX#042503
RGBrgb(4, 37, 3)
HSLhsl(118, 85%, 8%)
HSVhsv(118, 92%, 15%)
CMYKcmyk(89.2%, 0%, 91.9%, 85.5%)
CIE-LABlab(11.66, -20.43, 15.67)
CIE-LCHlch(11.66, 25.75, 142.50°)
OKLaboklab(23.17% -0.0562 0.0434)
OKLCHoklch(23.17% 0.071 142.3)
XYZxyz(0.7280, 1.3554, 0.3094)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042503 #240325
analogous
#152503 #042503 #032513
triadic
#042503 #030425 #250304
tetradic
#042503 #031525 #240325 #251303
square
#042503 #031525 #240325 #251303
split-complementary
#042503 #130325 #250315
monochromatic
#031C02 #031C02 #042503 #0A5E08 #10960C

Accessibility & contrast

On white

16.52
#042503 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#042503 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042503
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042503#FFFFFF#000000##FFFFFF
##0425031.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#221E05
Tritanopia (blue-blind)
#00241E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #042503;
/* rgb */ color: rgb(4, 37, 3);
/* oklch */ color: oklch(23.2% 0.071 142.3);
Tailwind
colors: {
  custom: {
    50: '#486048',
    500: '#042503',
    950: '#000000',
  },
}
SCSS
$custom: #042503;
$custom-light: #486048;
$custom-dark: #000000;
JSON
{
  "hex": "#042503",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 3
  },
  "hsl": {
    "h": 118.235,
    "s": 85,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23166,
    "c": 0.071,
    "h": 142.3
  },
  "luminance": 0.01356
}

Semantic roles & 50–950 ramp

primary
#042503
secondary
#671B69
accent
#2DFBF5
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010500
muted
#777977

Preview Lab

Preview with #042503

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

Preview Lab → · Contrast checker → · Palette generator →

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