#052E0F#052E0F

#052E0F is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.5% C 0.071 H 147.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#052E0F
RGBrgb(5, 46, 15)
HSLhsl(135, 80%, 10%)
HSVhsv(135, 89%, 18%)
CMYKcmyk(89.1%, 0%, 67.4%, 82%)
CIE-LABlab(15.60, -22.21, 15.70)
CIE-LCHlch(15.60, 27.20, 144.76°)
OKLaboklab(26.5% -0.0598 0.0379)
OKLCHoklch(26.5% 0.071 147.6)
XYZxyz(1.1257, 2.0206, 0.7825)
Luminance0.0202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052E0F #2E0524
analogous
#102E05 #052E0F #052E23
triadic
#052E0F #0F052E #2E0F05
tetradic
#052E0F #05102E #2E0524 #2E2305
square
#052E0F #05102E #2E0524 #2E2305
split-complementary
#052E0F #23052E #2E0510
monochromatic
#031C09 #031C09 #052E0F #0B6521 #119C33

Accessibility & contrast

On white

14.96
#052E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052E0F
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052E0F#FFFFFF#000000##FFFFFF
##052E0F1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290C
Deuteranopia (green-blind)
#2A2611
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #052e0f;
/* rgb */ color: rgb(5, 46, 15);
/* oklch */ color: oklch(26.5% 0.071 147.6);
Tailwind
colors: {
  custom: {
    50: '#4c674e',
    500: '#052e0f',
    950: '#000000',
  },
}
SCSS
$custom: #052e0f;
$custom-light: #4c674e;
$custom-dark: #000000;
JSON
{
  "hex": "#052e0f",
  "rgb": {
    "r": 5,
    "g": 46,
    "b": 15
  },
  "hsl": {
    "h": 134.634,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.26496,
    "c": 0.07079,
    "h": 147.6
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#052E0F
secondary
#701F5C
accent
#31C7F7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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