#0F522B#0F522B

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

Color values

HEX#0F522B
RGBrgb(15, 82, 43)
HSLhsl(145, 69%, 19%)
HSVhsv(145, 82%, 32%)
CMYKcmyk(81.7%, 0%, 47.6%, 67.8%)
CIE-LABlab(30.18, -30.37, 17.20)
CIE-LCHlch(30.18, 34.90, 150.47°)
OKLaboklab(38.78% -0.0817 0.0425)
OKLCHoklch(38.78% 0.092 152.6)
XYZxyz(3.6500, 6.3101, 3.3106)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F522B #520F36
analogous
#15520F #0F522B #0F524D
triadic
#0F522B #2B0F52 #522B0F
tetradic
#0F522B #0F1552 #520F36 #524D0F
square
#0F522B #0F1552 #520F36 #524D0F
split-complementary
#0F522B #4D0F52 #520F15
monochromatic
#051A0E #061E10 #0F522B #188646 #22B961

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F522B#FFFFFF#000000##FFFFFF
##0F522B1.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)
#524A28
Deuteranopia (green-blind)
#4A452E
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f522b;
/* rgb */ color: rgb(15, 82, 43);
/* oklch */ color: oklch(38.8% 0.092 152.6);
Tailwind
colors: {
  custom: {
    50: '#5a8365',
    500: '#0f522b',
    950: '#000000',
  },
}
SCSS
$custom: #0f522b;
$custom-light: #5a8365;
$custom-dark: #000000;
JSON
{
  "hex": "#0f522b",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 43
  },
  "hsl": {
    "h": 145.075,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38782,
    "c": 0.09209,
    "h": 152.6
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#0F522B
secondary
#8C3166
accent
#3CA2EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0F522B

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

Preview Lab → · Contrast checker → · Palette generator →

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