#0F7E1B#0F7E1B

#0F7E1B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.163 H 143.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#0F7E1B
RGBrgb(15, 126, 27)
HSLhsl(126, 79%, 28%)
HSVhsv(126, 88%, 49%)
CMYKcmyk(88.1%, 0%, 78.6%, 50.6%)
CIE-LABlab(45.77, -48.47, 42.69)
CIE-LCHlch(45.77, 64.59, 138.63°)
OKLaboklab(51.67% -0.1311 0.0961)
OKLCHoklch(51.67% 0.163 143.8)
XYZxyz(7.8551, 15.1014, 3.5376)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7E1B #7E0F72
analogous
#3B7E0F #0F7E1B #0F7E52
triadic
#0F7E1B #1B0F7E #7E1B0F
tetradic
#0F7E1B #0F3B7E #7E0F72 #7E520F
square
#0F7E1B #0F3B7E #7E0F72 #7E520F
split-complementary
#0F7E1B #520F7E #7E0F3B
monochromatic
#031B06 #08470F #0F7E1B #16B527 #23E538

Accessibility & contrast

On white

5.22
#0F7E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#0F7E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7E1B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7E1B#FFFFFF#000000##FFFFFF
##0F7E1B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817105
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #0f7e1b;
/* rgb */ color: rgb(15, 126, 27);
/* oklch */ color: oklch(51.7% 0.163 143.8);
Tailwind
colors: {
  custom: {
    50: '#67a55f',
    500: '#0f7e1b',
    950: '#000000',
  },
}
SCSS
$custom: #0f7e1b;
$custom-light: #67a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7e1b",
  "rgb": {
    "r": 15,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 126.486,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5167,
    "c": 0.16251,
    "h": 143.8
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#0F7E1B
secondary
#B534A7
accent
#33E0F5
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #0F7E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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