#0F5230#0F5230

#0F5230 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.087 H 155.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#0F5230
RGBrgb(15, 82, 48)
HSLhsl(150, 69%, 19%)
HSVhsv(150, 82%, 32%)
CMYKcmyk(81.7%, 0%, 41.5%, 67.8%)
CIE-LABlab(30.28, -29.29, 14.29)
CIE-LCHlch(30.28, 32.59, 153.99°)
OKLaboklab(38.89% -0.0791 0.0357)
OKLCHoklch(38.89% 0.087 155.7)
XYZxyz(3.7474, 6.3491, 3.8237)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5230 #520F31
analogous
#10520F #0F5230 #0F5252
triadic
#0F5230 #300F52 #52300F
tetradic
#0F5230 #0F1052 #520F31 #52520F
square
#0F5230 #0F1052 #520F31 #52520F
split-complementary
#0F5230 #520F52 #520F10
monochromatic
#051A0F #061E12 #0F5230 #18864E #22B96D

Accessibility & contrast

On white

9.25
#0F5230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5230
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5230#FFFFFF#000000##FFFFFF
##0F52301.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2E
Deuteranopia (green-blind)
#4A4532
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5230;
/* rgb */ color: rgb(15, 82, 48);
/* oklch */ color: oklch(38.9% 0.087 155.7);
Tailwind
colors: {
  custom: {
    50: '#598368',
    500: '#0f5230',
    950: '#000000',
  },
}
SCSS
$custom: #0f5230;
$custom-light: #598368;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5230",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 48
  },
  "hsl": {
    "h": 149.552,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38892,
    "c": 0.08677,
    "h": 155.7
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#0F5230
secondary
#8C315F
accent
#3C95EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0F5230

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

Preview Lab → · Contrast checker → · Palette generator →

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