#0F7215#0F7215

#0F7215 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.1% C 0.152 H 143.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#0F7215
RGBrgb(15, 114, 21)
HSLhsl(124, 77%, 25%)
HSVhsv(124, 87%, 45%)
CMYKcmyk(86.8%, 0%, 81.6%, 55.3%)
CIE-LABlab(41.52, -45.04, 40.65)
CIE-LCHlch(41.52, 60.67, 137.93°)
OKLaboklab(48.11% -0.122 0.091)
OKLCHoklch(48.11% 0.152 143.3)
XYZxyz(6.3493, 12.1895, 2.7275)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7215 #720F6C
analogous
#3B720F #0F7215 #0F7246
triadic
#0F7215 #150F72 #72150F
tetradic
#0F7215 #0F3B72 #720F6C #72460F
square
#0F7215 #0F3B72 #720F6C #72460F
split-complementary
#0F7215 #460F72 #720F3B
monochromatic
#041B05 #083C0B #0F7215 #16A81F #1DDE29

Accessibility & contrast

On white

6.11
#0F7215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#0F7215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7215
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7215#FFFFFF#000000##FFFFFF
##0F72151.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #0f7215;
/* rgb */ color: rgb(15, 114, 21);
/* oklch */ color: oklch(48.1% 0.152 143.3);
Tailwind
colors: {
  custom: {
    50: '#649c5a',
    500: '#0f7215',
    950: '#000000',
  },
}
SCSS
$custom: #0f7215;
$custom-light: #649c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7215",
  "rgb": {
    "r": 15,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 123.636,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48113,
    "c": 0.15217,
    "h": 143.3
  },
  "luminance": 0.1219
}

Semantic roles & 50–950 ramp

primary
#0F7215
secondary
#AA33A3
accent
#35E8F3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #0F7215

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

Preview Lab → · Contrast checker → · Palette generator →

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