#052F07#052F07

#052F07 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.7% C 0.080 H 143.6°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#052F07
RGBrgb(5, 47, 7)
HSLhsl(123, 81%, 10%)
HSVhsv(123, 89%, 18%)
CMYKcmyk(89.4%, 0%, 85.1%, 81.6%)
CIE-LABlab(15.90, -23.83, 19.64)
CIE-LCHlch(15.90, 30.88, 140.50°)
OKLaboklab(26.72% -0.0645 0.0475)
OKLCHoklch(26.72% 0.08 143.6)
XYZxyz(1.1174, 2.0805, 0.5437)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F07 #2F052D
analogous
#182F05 #052F07 #052F1C
triadic
#052F07 #07052F #2F0705
tetradic
#052F07 #05182F #2F052D #2F1C05
square
#052F07 #05182F #2F052D #2F1C05
split-complementary
#052F07 #1C052F #2F0518
monochromatic
#031C04 #031C04 #052F07 #0B660F #119E17

Accessibility & contrast

On white

14.83
#052F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#052F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052F07
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F07#FFFFFF#000000##FFFFFF
##052F071.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A03
Deuteranopia (green-blind)
#2B260B
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #052f07;
/* rgb */ color: rgb(5, 47, 7);
/* oklch */ color: oklch(26.7% 0.080 143.6);
Tailwind
colors: {
  custom: {
    50: '#4c684a',
    500: '#052f07',
    950: '#000000',
  },
}
SCSS
$custom: #052f07;
$custom-light: #4c684a;
$custom-dark: #000000;
JSON
{
  "hex": "#052f07",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 122.857,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26721,
    "c": 0.08011,
    "h": 143.6
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#052F07
secondary
#711F6D
accent
#31EEF7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052F07

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

Preview Lab → · Contrast checker → · Palette generator →

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