#0F522F#0F522F

#0F522F is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.088 H 155.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#0F522F
RGBrgb(15, 82, 47)
HSLhsl(149, 69%, 19%)
HSVhsv(149, 82%, 32%)
CMYKcmyk(81.7%, 0%, 42.7%, 67.8%)
CIE-LABlab(30.26, -29.52, 14.88)
CIE-LCHlch(30.26, 33.05, 153.25°)
OKLaboklab(38.87% -0.0796 0.0371)
OKLCHoklch(38.87% 0.088 155)
XYZxyz(3.7270, 6.3409, 3.7163)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F522F #520F32
analogous
#11520F #0F522F #0F5251
triadic
#0F522F #2F0F52 #522F0F
tetradic
#0F522F #0F1152 #520F32 #52510F
square
#0F522F #0F1152 #520F32 #52510F
split-complementary
#0F522F #510F52 #520F11
monochromatic
#051A0F #061E11 #0F522F #18864D #22B96A

Accessibility & contrast

On white

9.26
#0F522F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#0F522F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F522F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F522F#FFFFFF#000000##FFFFFF
##0F522F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f522f;
/* rgb */ color: rgb(15, 82, 47);
/* oklch */ color: oklch(38.9% 0.088 155.0);
Tailwind
colors: {
  custom: {
    50: '#598368',
    500: '#0f522f',
    950: '#000000',
  },
}
SCSS
$custom: #0f522f;
$custom-light: #598368;
$custom-dark: #000000;
JSON
{
  "hex": "#0f522f",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 47
  },
  "hsl": {
    "h": 148.657,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38869,
    "c": 0.08784,
    "h": 155
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#0F522F
secondary
#8C3160
accent
#3C98EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0F522F

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

Preview Lab → · Contrast checker → · Palette generator →

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