#0F7015#0F7015

#0F7015 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.150 H 143.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#0F7015
RGBrgb(15, 112, 21)
HSLhsl(124, 76%, 25%)
HSVhsv(124, 87%, 44%)
CMYKcmyk(86.6%, 0%, 81.2%, 56.1%)
CIE-LABlab(40.81, -44.38, 39.96)
CIE-LCHlch(40.81, 59.72, 138.00°)
OKLaboklab(47.52% -0.1202 0.0895)
OKLCHoklch(47.52% 0.15 143.3)
XYZxyz(6.1261, 11.7433, 2.6531)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7015 #700F6A
analogous
#3A700F #0F7015 #0F7045
triadic
#0F7015 #150F70 #70150F
tetradic
#0F7015 #0F3A70 #700F6A #70450F
square
#0F7015 #0F3A70 #700F6A #70450F
split-complementary
#0F7015 #450F70 #700F3A
monochromatic
#041B05 #083A0B #0F7015 #16A61F #1DDC29

Accessibility & contrast

On white

6.27
#0F7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#0F7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7015
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7015#FFFFFF#000000##FFFFFF
##0F70151.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#685D20
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #0f7015;
/* rgb */ color: rgb(15, 112, 21);
/* oklch */ color: oklch(47.5% 0.150 143.3);
Tailwind
colors: {
  custom: {
    50: '#639a5a',
    500: '#0f7015',
    950: '#000000',
  },
}
SCSS
$custom: #0f7015;
$custom-light: #639a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7015",
  "rgb": {
    "r": 15,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 123.711,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47522,
    "c": 0.14987,
    "h": 143.3
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#0F7015
secondary
#A833A1
accent
#35E7F3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #0F7015

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

Preview Lab → · Contrast checker → · Palette generator →

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