#0F7213#0F7213

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

Color values

HEX#0F7213
RGBrgb(15, 114, 19)
HSLhsl(122, 77%, 25%)
HSVhsv(122, 87%, 45%)
CMYKcmyk(86.8%, 0%, 83.3%, 55.3%)
CIE-LABlab(41.50, -45.18, 41.31)
CIE-LCHlch(41.50, 61.21, 137.56°)
OKLaboklab(48.1% -0.1224 0.0921)
OKLCHoklch(48.1% 0.153 143.1)
XYZxyz(6.3314, 12.1824, 2.6337)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7213 #720F6E
analogous
#3D720F #0F7213 #0F7244
triadic
#0F7213 #130F72 #72130F
tetradic
#0F7213 #0F3D72 #720F6E #72440F
square
#0F7213 #0F3D72 #720F6E #72440F
split-complementary
#0F7213 #440F72 #720F3D
monochromatic
#041B05 #083C0A #0F7213 #16A81C #1DDE25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F7213#FFFFFF#000000##FFFFFF
##0F72131.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: #0f7213;
/* rgb */ color: rgb(15, 114, 19);
/* oklch */ color: oklch(48.1% 0.153 143.1);
Tailwind
colors: {
  custom: {
    50: '#649c5a',
    500: '#0f7213',
    950: '#000000',
  },
}
SCSS
$custom: #0f7213;
$custom-light: #649c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7213",
  "rgb": {
    "r": 15,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 122.424,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48101,
    "c": 0.15319,
    "h": 143.1
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#0F7213
secondary
#AA33A5
accent
#35ECF3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #0F7213

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

Preview Lab → · Contrast checker → · Palette generator →

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