#052E07#052E07

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

Color values

HEX#052E07
RGBrgb(5, 46, 7)
HSLhsl(123, 80%, 10%)
HSVhsv(123, 89%, 18%)
CMYKcmyk(89.1%, 0%, 84.8%, 82%)
CIE-LABlab(15.50, -23.42, 19.13)
CIE-LCHlch(15.50, 30.24, 140.76°)
OKLaboklab(26.38% -0.0634 0.0466)
OKLCHoklch(26.38% 0.079 143.7)
XYZxyz(1.0779, 2.0015, 0.5305)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052E07 #2E052C
analogous
#172E05 #052E07 #052E1C
triadic
#052E07 #07052E #2E0705
tetradic
#052E07 #05172E #2E052C #2E1C05
square
#052E07 #05172E #2E052C #2E1C05
split-complementary
#052E07 #1C052E #2E0517
monochromatic
#031C04 #031C04 #052E07 #0B650F #119C18

Accessibility & contrast

On white

15.00
#052E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052E07
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052E07#FFFFFF#000000##FFFFFF
##052E071.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #052e07;
/* rgb */ color: rgb(5, 46, 7);
/* oklch */ color: oklch(26.4% 0.079 143.7);
Tailwind
colors: {
  custom: {
    50: '#4c674a',
    500: '#052e07',
    950: '#000000',
  },
}
SCSS
$custom: #052e07;
$custom-light: #4c674a;
$custom-dark: #000000;
JSON
{
  "hex": "#052e07",
  "rgb": {
    "r": 5,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 122.927,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.26381,
    "c": 0.0787,
    "h": 143.7
  },
  "luminance": 0.02002
}

Semantic roles & 50–950 ramp

primary
#052E07
secondary
#701F6C
accent
#31EDF7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052E07

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

Preview Lab → · Contrast checker → · Palette generator →

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