#052907#052907

#052907 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.7% C 0.071 H 144.0°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#052907
RGBrgb(5, 41, 7)
HSLhsl(123, 78%, 9%)
HSVhsv(123, 88%, 16%)
CMYKcmyk(87.8%, 0%, 82.9%, 83.9%)
CIE-LABlab(13.43, -21.33, 16.45)
CIE-LCHlch(13.43, 26.93, 142.36°)
OKLaboklab(24.67% -0.0577 0.042)
OKLCHoklch(24.67% 0.071 144)
XYZxyz(0.8938, 1.6334, 0.4691)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052907 #290527
analogous
#152905 #052907 #052919
triadic
#052907 #070529 #290705
tetradic
#052907 #051529 #290527 #291905
square
#052907 #051529 #290527 #291905
split-complementary
#052907 #190529 #290515
monochromatic
#031B05 #031B05 #052907 #0C6010 #12961A

Accessibility & contrast

On white

15.83
#052907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#052907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052907
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052907#FFFFFF#000000##FFFFFF
##0529071.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2404
Deuteranopia (green-blind)
#26210A
Tritanopia (blue-blind)
#002822
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #052907;
/* rgb */ color: rgb(5, 41, 7);
/* oklch */ color: oklch(24.7% 0.071 144.0);
Tailwind
colors: {
  custom: {
    50: '#4a634a',
    500: '#052907',
    950: '#000000',
  },
}
SCSS
$custom: #052907;
$custom-light: #4a634a;
$custom-dark: #000000;
JSON
{
  "hex": "#052907",
  "rgb": {
    "r": 5,
    "g": 41,
    "b": 7
  },
  "hsl": {
    "h": 123.333,
    "s": 78.261,
    "l": 9.02
  },
  "oklch": {
    "l": 0.24669,
    "c": 0.07138,
    "h": 144
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#052907
secondary
#6B1F66
accent
#33EAF5
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #052907

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

Preview Lab → · Contrast checker → · Palette generator →

#052907 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva