#0F7211#0F7211

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

Color values

HEX#0F7211
RGBrgb(15, 114, 17)
HSLhsl(121, 77%, 25%)
HSVhsv(121, 87%, 45%)
CMYKcmyk(86.8%, 0%, 85.1%, 55.3%)
CIE-LABlab(41.49, -45.31, 41.92)
CIE-LCHlch(41.49, 61.73, 137.22°)
OKLaboklab(48.09% -0.1229 0.093)
OKLCHoklch(48.09% 0.154 142.9)
XYZxyz(6.3151, 12.1759, 2.5476)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7211 #720F70
analogous
#3E720F #0F7211 #0F7242
triadic
#0F7211 #110F72 #72110F
tetradic
#0F7211 #0F3E72 #720F70 #72420F
square
#0F7211 #0F3E72 #720F70 #72420F
split-complementary
#0F7211 #420F72 #720F3E
monochromatic
#041B04 #083C09 #0F7211 #16A819 #1DDE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F7211#FFFFFF#000000##FFFFFF
##0F72111.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)
#6A5F1D
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #0f7211;
/* rgb */ color: rgb(15, 114, 17);
/* oklch */ color: oklch(48.1% 0.154 142.9);
Tailwind
colors: {
  custom: {
    50: '#649c59',
    500: '#0f7211',
    950: '#000000',
  },
}
SCSS
$custom: #0f7211;
$custom-light: #649c59;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7211",
  "rgb": {
    "r": 15,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 121.212,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48089,
    "c": 0.15414,
    "h": 142.9
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#0F7211
secondary
#AA33A7
accent
#35EFF3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #0F7211

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

Preview Lab → · Contrast checker → · Palette generator →

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