#0F5114#0F5114

#0F5114 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.113 H 143.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#0F5114
RGBrgb(15, 81, 20)
HSLhsl(125, 69%, 19%)
HSVhsv(125, 81%, 32%)
CMYKcmyk(81.5%, 0%, 75.3%, 68.2%)
CIE-LABlab(29.50, -33.59, 28.92)
CIE-LCHlch(29.50, 44.32, 139.28°)
OKLaboklab(38.12% -0.0909 0.0663)
OKLCHoklch(38.12% 0.113 143.9)
XYZxyz(3.2655, 6.0365, 1.6548)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5114 #510F4C
analogous
#2B510F #0F5114 #0F5135
triadic
#0F5114 #140F51 #51140F
tetradic
#0F5114 #0F2B51 #510F4C #51350F
square
#0F5114 #0F2B51 #510F4C #51350F
split-complementary
#0F5114 #350F51 #510F2B
monochromatic
#051A06 #051D07 #0F5114 #198521 #22B82D

Accessibility & contrast

On white

9.51
#0F5114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0F5114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5114
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5114#FFFFFF#000000##FFFFFF
##0F51141.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490B
Deuteranopia (green-blind)
#4B441A
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5114;
/* rgb */ color: rgb(15, 81, 20);
/* oklch */ color: oklch(38.1% 0.113 143.9);
Tailwind
colors: {
  custom: {
    50: '#5a8355',
    500: '#0f5114',
    950: '#000000',
  },
}
SCSS
$custom: #0f5114;
$custom-light: #5a8355;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5114",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 124.545,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38122,
    "c": 0.11255,
    "h": 143.9
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#0F5114
secondary
#8B3184
accent
#3CDEEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F5114

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

Preview Lab → · Contrast checker → · Palette generator →

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