#0F5431#0F5431

#0F5431 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.089 H 155.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#0F5431
RGBrgb(15, 84, 49)
HSLhsl(150, 70%, 19%)
HSVhsv(150, 82%, 33%)
CMYKcmyk(82.1%, 0%, 41.7%, 67.1%)
CIE-LABlab(31.03, -29.94, 14.68)
CIE-LCHlch(31.03, 33.34, 153.88°)
OKLaboklab(39.52% -0.0808 0.0367)
OKLCHoklch(39.52% 0.089 155.6)
XYZxyz(3.9213, 6.6635, 3.9847)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5431 #540F32
analogous
#10540F #0F5431 #0F5454
triadic
#0F5431 #310F54 #54310F
tetradic
#0F5431 #0F1054 #540F32 #54540F
square
#0F5431 #0F1054 #540F32 #54540F
split-complementary
#0F5431 #540F54 #540F10
monochromatic
#051A0F #062013 #0F5431 #18884F #22BC6E

Accessibility & contrast

On white

9.00
#0F5431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#0F5431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5431
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5431#FFFFFF#000000##FFFFFF
##0F54311.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#4B4733
Tritanopia (blue-blind)
#00534B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5431;
/* rgb */ color: rgb(15, 84, 49);
/* oklch */ color: oklch(39.5% 0.089 155.6);
Tailwind
colors: {
  custom: {
    50: '#5a8569',
    500: '#0f5431',
    950: '#000000',
  },
}
SCSS
$custom: #0f5431;
$custom-light: #5a8569;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5431",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 49
  },
  "hsl": {
    "h": 149.565,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39518,
    "c": 0.08874,
    "h": 155.6
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#0F5431
secondary
#8E3160
accent
#3B95ED
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0F5431

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

Preview Lab → · Contrast checker → · Palette generator →

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