#0F5412#0F5412

#0F5412 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.0% C 0.118 H 143.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#0F5412
RGBrgb(15, 84, 18)
HSLhsl(123, 70%, 19%)
HSVhsv(123, 82%, 33%)
CMYKcmyk(82.1%, 0%, 78.6%, 67.1%)
CIE-LABlab(30.61, -34.92, 30.95)
CIE-LCHlch(30.61, 46.66, 138.44°)
OKLaboklab(39.03% -0.0946 0.0703)
OKLCHoklch(39.03% 0.118 143.4)
XYZxyz(3.4763, 6.4855, 1.6408)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5412 #540F51
analogous
#2F540F #0F5412 #0F5435
triadic
#0F5412 #120F54 #54120F
tetradic
#0F5412 #0F2F54 #540F51 #54350F
square
#0F5412 #0F2F54 #540F51 #54350F
split-complementary
#0F5412 #350F54 #540F2F
monochromatic
#051A06 #062007 #0F5412 #18881D #22BC28

Accessibility & contrast

On white

9.14
#0F5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#0F5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5412
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5412#FFFFFF#000000##FFFFFF
##0F54121.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5412;
/* rgb */ color: rgb(15, 84, 18);
/* oklch */ color: oklch(39.0% 0.118 143.4);
Tailwind
colors: {
  custom: {
    50: '#5b8554',
    500: '#0f5412',
    950: '#000000',
  },
}
SCSS
$custom: #0f5412;
$custom-light: #5b8554;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5412",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 122.609,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39031,
    "c": 0.11789,
    "h": 143.4
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#0F5412
secondary
#8E318A
accent
#3BE5ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5412

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

Preview Lab → · Contrast checker → · Palette generator →

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