#0F5213#0F5213

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

Color values

HEX#0F5213
RGBrgb(15, 82, 19)
HSLhsl(124, 69%, 19%)
HSVhsv(124, 82%, 32%)
CMYKcmyk(81.7%, 0%, 76.8%, 67.8%)
CIE-LABlab(29.87, -34.08, 29.75)
CIE-LCHlch(29.87, 45.24, 138.87°)
OKLaboklab(38.42% -0.0923 0.068)
OKLCHoklch(38.42% 0.115 143.6)
XYZxyz(3.3316, 6.1828, 1.6338)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5213 #520F4E
analogous
#2D520F #0F5213 #0F5235
triadic
#0F5213 #130F52 #52130F
tetradic
#0F5213 #0F2D52 #520F4E #52350F
square
#0F5213 #0F2D52 #520F4E #52350F
split-complementary
#0F5213 #350F52 #520F2D
monochromatic
#051A06 #061E07 #0F5213 #18861F #22B92B

Accessibility & contrast

On white

9.39
#0F5213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#0F5213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5213
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5213#FFFFFF#000000##FFFFFF
##0F52131.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5213;
/* rgb */ color: rgb(15, 82, 19);
/* oklch */ color: oklch(38.4% 0.115 143.6);
Tailwind
colors: {
  custom: {
    50: '#5b8355',
    500: '#0f5213',
    950: '#000000',
  },
}
SCSS
$custom: #0f5213;
$custom-light: #5b8355;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5213",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 123.582,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38422,
    "c": 0.11461,
    "h": 143.6
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#0F5213
secondary
#8C3187
accent
#3CE1EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5213

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

Preview Lab → · Contrast checker → · Palette generator →

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