#052F08#052F08

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

Color values

HEX#052F08
RGBrgb(5, 47, 8)
HSLhsl(124, 81%, 10%)
HSVhsv(124, 89%, 18%)
CMYKcmyk(89.4%, 0%, 83%, 81.6%)
CIE-LABlab(15.92, -23.69, 19.25)
CIE-LCHlch(15.92, 30.53, 140.90°)
OKLaboklab(26.73% -0.0641 0.0465)
OKLCHoklch(26.73% 0.079 144.1)
XYZxyz(1.1229, 2.0827, 0.5725)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F08 #2F052C
analogous
#172F05 #052F08 #052F1D
triadic
#052F08 #08052F #2F0805
tetradic
#052F08 #05172F #2F052C #2F1D05
square
#052F08 #05172F #2F052C #2F1D05
split-complementary
#052F08 #1D052F #2F0517
monochromatic
#031C05 #031C05 #052F08 #0B6611 #119E1B

Accessibility & contrast

On white

14.82
#052F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052F08
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F08#FFFFFF#000000##FFFFFF
##052F081.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #052f08;
/* rgb */ color: rgb(5, 47, 8);
/* oklch */ color: oklch(26.7% 0.079 144.1);
Tailwind
colors: {
  custom: {
    50: '#4c684a',
    500: '#052f08',
    950: '#000000',
  },
}
SCSS
$custom: #052f08;
$custom-light: #4c684a;
$custom-dark: #000000;
JSON
{
  "hex": "#052f08",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 124.286,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26734,
    "c": 0.07916,
    "h": 144.1
  },
  "luminance": 0.02083
}

Semantic roles & 50–950 ramp

primary
#052F08
secondary
#711F6B
accent
#31E9F7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052F08

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

Preview Lab → · Contrast checker → · Palette generator →

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