#0F5310#0F5310

#0F5310 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.118 H 143.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#0F5310
RGBrgb(15, 83, 16)
HSLhsl(121, 69%, 19%)
HSVhsv(121, 82%, 33%)
CMYKcmyk(81.9%, 0%, 80.7%, 67.5%)
CIE-LABlab(30.22, -34.74, 31.40)
CIE-LCHlch(30.22, 46.82, 137.89°)
OKLaboklab(38.7% -0.0942 0.0709)
OKLCHoklch(38.7% 0.118 143)
XYZxyz(3.3836, 6.3251, 1.5327)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5310 #530F52
analogous
#30530F #0F5310 #0F5332
triadic
#0F5310 #100F53 #53100F
tetradic
#0F5310 #0F3053 #530F52 #53320F
square
#0F5310 #0F3053 #530F52 #53320F
split-complementary
#0F5310 #320F53 #530F30
monochromatic
#051A05 #061F06 #0F5310 #18871A #22BB24

Accessibility & contrast

On white

9.27
#0F5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#0F5310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5310
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5310#FFFFFF#000000##FFFFFF
##0F53101.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A04
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5310;
/* rgb */ color: rgb(15, 83, 16);
/* oklch */ color: oklch(38.7% 0.118 143.0);
Tailwind
colors: {
  custom: {
    50: '#5b8453',
    500: '#0f5310',
    950: '#000000',
  },
}
SCSS
$custom: #0f5310;
$custom-light: #5b8453;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5310",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 120.882,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38704,
    "c": 0.11796,
    "h": 143
  },
  "luminance": 0.06325
}

Semantic roles & 50–950 ramp

primary
#0F5310
secondary
#8D318C
accent
#3CEAEC
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5310

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

Preview Lab → · Contrast checker → · Palette generator →

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