#054108#054108

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

Color values

HEX#054108
RGBrgb(5, 65, 8)
HSLhsl(123, 86%, 14%)
HSVhsv(123, 92%, 25%)
CMYKcmyk(92.3%, 0%, 87.7%, 74.5%)
CIE-LABlab(23.10, -30.58, 27.48)
CIE-LCHlch(23.10, 41.11, 138.06°)
OKLaboklab(32.71% -0.0828 0.0617)
OKLCHoklch(32.71% 0.103 143.3)
XYZxyz(1.9966, 3.8301, 0.8637)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054108 #41053E
analogous
#204105 #054108 #054126
triadic
#054108 #080541 #410805
tetradic
#054108 #052041 #41053E #412605
square
#054108 #052041 #41053E #412605
split-complementary
#054108 #260541 #410520
monochromatic
#021C03 #021C03 #054108 #097A0F #0EB316

Accessibility & contrast

On white

11.89
#054108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#054108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054108
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054108#FFFFFF#000000##FFFFFF
##0541081.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #054108;
/* rgb */ color: rgb(5, 65, 8);
/* oklch */ color: oklch(32.7% 0.103 143.3);
Tailwind
colors: {
  custom: {
    50: '#53764c',
    500: '#054108',
    950: '#000000',
  },
}
SCSS
$custom: #054108;
$custom-light: #53764c;
$custom-dark: #000000;
JSON
{
  "hex": "#054108",
  "rgb": {
    "r": 5,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 123,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32711,
    "c": 0.10326,
    "h": 143.3
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#054108
secondary
#81207D
accent
#2CF2FC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #054108

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

Preview Lab → · Contrast checker → · Palette generator →

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