#0F522A#0F522A

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

Color values

HEX#0F522A
RGBrgb(15, 82, 42)
HSLhsl(144, 69%, 19%)
HSVhsv(144, 82%, 32%)
CMYKcmyk(81.7%, 0%, 48.8%, 67.8%)
CIE-LABlab(30.16, -30.57, 17.78)
CIE-LCHlch(30.16, 35.37, 149.83°)
OKLaboklab(38.76% -0.0822 0.0438)
OKLCHoklch(38.76% 0.093 152)
XYZxyz(3.6319, 6.3029, 3.2152)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F522A #520F37
analogous
#16520F #0F522A #0F524C
triadic
#0F522A #2A0F52 #522A0F
tetradic
#0F522A #0F1652 #520F37 #524C0F
square
#0F522A #0F1652 #520F37 #524C0F
split-complementary
#0F522A #4C0F52 #520F16
monochromatic
#051A0D #061E10 #0F522A #188644 #22B95F

Accessibility & contrast

On white

9.29
#0F522A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F522A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F522A#FFFFFF#000000##FFFFFF
##0F522A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A27
Deuteranopia (green-blind)
#4A452D
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f522a;
/* rgb */ color: rgb(15, 82, 42);
/* oklch */ color: oklch(38.8% 0.093 152.0);
Tailwind
colors: {
  custom: {
    50: '#5a8364',
    500: '#0f522a',
    950: '#000000',
  },
}
SCSS
$custom: #0f522a;
$custom-light: #5a8364;
$custom-dark: #000000;
JSON
{
  "hex": "#0f522a",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 42
  },
  "hsl": {
    "h": 144.179,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38762,
    "c": 0.09315,
    "h": 152
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#0F522A
secondary
#8C3167
accent
#3CA5EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0F522A

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

Preview Lab → · Contrast checker → · Palette generator →

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