#052E08#052E08

#052E08 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.4% C 0.078 H 144.1°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#052E08
RGBrgb(5, 46, 8)
HSLhsl(124, 80%, 10%)
HSVhsv(124, 89%, 18%)
CMYKcmyk(89.1%, 0%, 82.6%, 82%)
CIE-LABlab(15.51, -23.28, 18.74)
CIE-LCHlch(15.51, 29.88, 141.18°)
OKLaboklab(26.39% -0.063 0.0456)
OKLCHoklch(26.39% 0.078 144.1)
XYZxyz(1.0833, 2.0037, 0.5593)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052E08 #2E052B
analogous
#172E05 #052E08 #052E1C
triadic
#052E08 #08052E #2E0805
tetradic
#052E08 #05172E #2E052B #2E1C05
square
#052E08 #05172E #2E052B #2E1C05
split-complementary
#052E08 #1C052E #2E0517
monochromatic
#031C05 #031C05 #052E08 #0B6512 #119C1B

Accessibility & contrast

On white

14.99
#052E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#052E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052E08
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052E08#FFFFFF#000000##FFFFFF
##052E081.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2904
Deuteranopia (green-blind)
#2A250B
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #052e08;
/* rgb */ color: rgb(5, 46, 8);
/* oklch */ color: oklch(26.4% 0.078 144.1);
Tailwind
colors: {
  custom: {
    50: '#4c674a',
    500: '#052e08',
    950: '#000000',
  },
}
SCSS
$custom: #052e08;
$custom-light: #4c674a;
$custom-dark: #000000;
JSON
{
  "hex": "#052e08",
  "rgb": {
    "r": 5,
    "g": 46,
    "b": 8
  },
  "hsl": {
    "h": 124.39,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.26394,
    "c": 0.07772,
    "h": 144.1
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#052E08
secondary
#701F6A
accent
#31E8F7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052E08

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

Preview Lab → · Contrast checker → · Palette generator →

#052E08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva