#0F7214#0F7214

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

Color values

HEX#0F7214
RGBrgb(15, 114, 20)
HSLhsl(123, 77%, 25%)
HSVhsv(123, 87%, 45%)
CMYKcmyk(86.8%, 0%, 82.5%, 55.3%)
CIE-LABlab(41.51, -45.11, 40.98)
CIE-LCHlch(41.51, 60.94, 137.75°)
OKLaboklab(48.11% -0.1222 0.0915)
OKLCHoklch(48.11% 0.153 143.2)
XYZxyz(6.3402, 12.1859, 2.6796)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7214 #720F6D
analogous
#3C720F #0F7214 #0F7245
triadic
#0F7214 #140F72 #72140F
tetradic
#0F7214 #0F3C72 #720F6D #72450F
square
#0F7214 #0F3C72 #720F6D #72450F
split-complementary
#0F7214 #450F72 #720F3C
monochromatic
#041B05 #083C0B #0F7214 #16A81D #1DDE27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F7214#FFFFFF#000000##FFFFFF
##0F72141.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)
#6A5F1F
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #0f7214;
/* rgb */ color: rgb(15, 114, 20);
/* oklch */ color: oklch(48.1% 0.153 143.2);
Tailwind
colors: {
  custom: {
    50: '#649c5a',
    500: '#0f7214',
    950: '#000000',
  },
}
SCSS
$custom: #0f7214;
$custom-light: #649c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7214",
  "rgb": {
    "r": 15,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 123.03,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48107,
    "c": 0.15269,
    "h": 143.2
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#0F7214
secondary
#AA33A4
accent
#35EAF3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #0F7214

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

Preview Lab → · Contrast checker → · Palette generator →

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