#042B00#042B00

#042B00 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.2% C 0.083 H 141.0°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#042B00
RGBrgb(4, 43, 0)
HSLhsl(114, 100%, 8%)
HSVhsv(114, 100%, 17%)
CMYKcmyk(90.7%, 0%, 100%, 83.1%)
CIE-LABlab(14.14, -23.58, 20.22)
CIE-LCHlch(14.14, 31.06, 139.38°)
OKLaboklab(25.21% -0.0645 0.0522)
OKLCHoklch(25.21% 0.083 141)
XYZxyz(0.9139, 1.7535, 0.2903)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B00 #27002B
analogous
#192B00 #042B00 #002B11
triadic
#042B00 #00042B #2B0004
tetradic
#042B00 #00192B #27002B #2B1100
square
#042B00 #00192B #27002B #2B1100
split-complementary
#042B00 #11002B #2B0019
monochromatic
#031F00 #031F00 #042B00 #0A6800 #0FA500

Accessibility & contrast

On white

15.55
#042B00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#042B00 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B00
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B00#FFFFFF#000000##FFFFFF
##042B001.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#282303
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042b00;
/* rgb */ color: rgb(4, 43, 0);
/* oklch */ color: oklch(25.2% 0.083 141.0);
Tailwind
colors: {
  custom: {
    50: '#4a6546',
    500: '#042b00',
    950: '#000000',
  },
}
SCSS
$custom: #042b00;
$custom-light: #4a6546;
$custom-dark: #000000;
JSON
{
  "hex": "#042b00",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 0
  },
  "hsl": {
    "h": 114.419,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25214,
    "c": 0.08295,
    "h": 141
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

primary
#042B00
secondary
#6A1473
accent
#29FFEB
background
#F4F6F3
surface
#E7EBE5
border
#C3C6C1
text
#010500
muted
#777A77

Preview Lab

Preview with #042B00

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

Preview Lab → · Contrast checker → · Palette generator →

#042B00 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva