#054104#054104

#054104 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.106 H 142.5°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#054104
RGBrgb(5, 65, 4)
HSLhsl(119, 88%, 14%)
HSVhsv(119, 94%, 25%)
CMYKcmyk(92.3%, 0%, 93.8%, 74.5%)
CIE-LABlab(23.07, -30.96, 29.07)
CIE-LCHlch(23.07, 42.47, 136.80°)
OKLaboklab(32.68% -0.0841 0.0646)
OKLCHoklch(32.68% 0.106 142.5)
XYZxyz(1.9747, 3.8214, 0.7484)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054104 #400441
analogous
#234104 #054104 #044121
triadic
#054104 #040541 #410405
tetradic
#054104 #042341 #400441 #412104
square
#054104 #042341 #400441 #412104
split-complementary
#054104 #210441 #410423
monochromatic
#021D02 #021D02 #054104 #097B08 #0EB40B

Accessibility & contrast

On white

11.90
#054104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#054104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054104
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054104#FFFFFF#000000##FFFFFF
##0541041.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#003F36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #054104;
/* rgb */ color: rgb(5, 65, 4);
/* oklch */ color: oklch(32.7% 0.106 142.5);
Tailwind
colors: {
  custom: {
    50: '#53764a',
    500: '#054104',
    950: '#000000',
  },
}
SCSS
$custom: #054104;
$custom-light: #53764a;
$custom-dark: #000000;
JSON
{
  "hex": "#054104",
  "rgb": {
    "r": 5,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 119.016,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32676,
    "c": 0.10603,
    "h": 142.5
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#054104
secondary
#811F82
accent
#29FFFB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #054104

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

Preview Lab → · Contrast checker → · Palette generator →

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