#0F5210#0F5210

#0F5210 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.4% C 0.117 H 143.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#0F5210
RGBrgb(15, 82, 16)
HSLhsl(121, 69%, 19%)
HSVhsv(121, 82%, 32%)
CMYKcmyk(81.7%, 0%, 80.5%, 67.8%)
CIE-LABlab(29.85, -34.37, 31.02)
CIE-LCHlch(29.85, 46.30, 137.93°)
OKLaboklab(38.39% -0.0932 0.0702)
OKLCHoklch(38.39% 0.117 143)
XYZxyz(3.3076, 6.1732, 1.5073)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5210 #520F51
analogous
#30520F #0F5210 #0F5232
triadic
#0F5210 #100F52 #52100F
tetradic
#0F5210 #0F3052 #520F51 #52320F
square
#0F5210 #0F3052 #520F51 #52320F
split-complementary
#0F5210 #320F52 #520F30
monochromatic
#051A05 #061E06 #0F5210 #18861A #22B924

Accessibility & contrast

On white

9.40
#0F5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#0F5210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5210
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5210#FFFFFF#000000##FFFFFF
##0F52101.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544905
Deuteranopia (green-blind)
#4C4417
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5210;
/* rgb */ color: rgb(15, 82, 16);
/* oklch */ color: oklch(38.4% 0.117 143.0);
Tailwind
colors: {
  custom: {
    50: '#5b8353',
    500: '#0f5210',
    950: '#000000',
  },
}
SCSS
$custom: #0f5210;
$custom-light: #5b8353;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5210",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 120.896,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38394,
    "c": 0.11669,
    "h": 143
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#0F5210
secondary
#8C318B
accent
#3CE9EC
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5210

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

Preview Lab → · Contrast checker → · Palette generator →

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