#0F522C#0F522C

#0F522C is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.091 H 153.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#0F522C
RGBrgb(15, 82, 44)
HSLhsl(146, 69%, 19%)
HSVhsv(146, 82%, 32%)
CMYKcmyk(81.7%, 0%, 46.3%, 67.8%)
CIE-LABlab(30.20, -30.16, 16.62)
CIE-LCHlch(30.20, 34.44, 151.14°)
OKLaboklab(38.8% -0.0812 0.0411)
OKLCHoklch(38.8% 0.091 153.1)
XYZxyz(3.6686, 6.3176, 3.4085)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F522C #520F35
analogous
#14520F #0F522C #0F524E
triadic
#0F522C #2C0F52 #522C0F
tetradic
#0F522C #0F1452 #520F35 #524E0F
square
#0F522C #0F1452 #520F35 #524E0F
split-complementary
#0F522C #4E0F52 #520F14
monochromatic
#051A0E #061E10 #0F522C #188648 #22B964

Accessibility & contrast

On white

9.28
#0F522C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#0F522C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F522C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F522C#FFFFFF#000000##FFFFFF
##0F522C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A29
Deuteranopia (green-blind)
#4A452F
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f522c;
/* rgb */ color: rgb(15, 82, 44);
/* oklch */ color: oklch(38.8% 0.091 153.1);
Tailwind
colors: {
  custom: {
    50: '#5a8365',
    500: '#0f522c',
    950: '#000000',
  },
}
SCSS
$custom: #0f522c;
$custom-light: #5a8365;
$custom-dark: #000000;
JSON
{
  "hex": "#0f522c",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 44
  },
  "hsl": {
    "h": 145.97,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38803,
    "c": 0.09103,
    "h": 153.1
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#0F522C
secondary
#8C3165
accent
#3CA0EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0F522C

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

Preview Lab → · Contrast checker → · Palette generator →

#0F522C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva