#052F06#052F06

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

Color values

HEX#052F06
RGBrgb(5, 47, 6)
HSLhsl(121, 81%, 10%)
HSVhsv(121, 89%, 18%)
CMYKcmyk(89.4%, 0%, 87.2%, 81.6%)
CIE-LABlab(15.89, -23.97, 20.04)
CIE-LCHlch(15.89, 31.24, 140.10°)
OKLaboklab(26.71% -0.065 0.0485)
OKLCHoklch(26.71% 0.081 143.2)
XYZxyz(1.1119, 2.0783, 0.5148)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F06 #2F052E
analogous
#192F05 #052F06 #052F1B
triadic
#052F06 #06052F #2F0605
tetradic
#052F06 #05192F #2F052E #2F1B05
square
#052F06 #05192F #2F052E #2F1B05
split-complementary
#052F06 #1B052F #2F0519
monochromatic
#031C04 #031C04 #052F06 #0B660D #119E14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##052F06#FFFFFF#000000##FFFFFF
##052F061.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)
#302A02
Deuteranopia (green-blind)
#2B260A
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #052f06;
/* rgb */ color: rgb(5, 47, 6);
/* oklch */ color: oklch(26.7% 0.081 143.2);
Tailwind
colors: {
  custom: {
    50: '#4c6849',
    500: '#052f06',
    950: '#000000',
  },
}
SCSS
$custom: #052f06;
$custom-light: #4c6849;
$custom-dark: #000000;
JSON
{
  "hex": "#052f06",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 121.429,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26708,
    "c": 0.08109,
    "h": 143.2
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#052F06
secondary
#711F6F
accent
#31F2F7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #052F06

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

Preview Lab → · Contrast checker → · Palette generator →

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