#0F502C#0F502C

#0F502C is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.088 H 153.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#0F502C
RGBrgb(15, 80, 44)
HSLhsl(147, 68%, 19%)
HSVhsv(147, 81%, 31%)
CMYKcmyk(81.3%, 0%, 45%, 68.6%)
CIE-LABlab(29.46, -29.30, 15.66)
CIE-LCHlch(29.46, 33.22, 151.88°)
OKLaboklab(38.2% -0.079 0.0389)
OKLCHoklch(38.2% 0.088 153.8)
XYZxyz(3.5200, 6.0203, 3.3589)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F502C #500F33
analogous
#12500F #0F502C #0F504C
triadic
#0F502C #2C0F50 #502C0F
tetradic
#0F502C #0F1250 #500F33 #504C0F
square
#0F502C #0F1250 #500F33 #504C0F
split-complementary
#0F502C #4C0F50 #500F12
monochromatic
#051A0E #051C10 #0F502C #198448 #22B765

Accessibility & contrast

On white

9.53
#0F502C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#0F502C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F502C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F502C#FFFFFF#000000##FFFFFF
##0F502C1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504929
Deuteranopia (green-blind)
#48432E
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f502c;
/* rgb */ color: rgb(15, 80, 44);
/* oklch */ color: oklch(38.2% 0.088 153.8);
Tailwind
colors: {
  custom: {
    50: '#598265',
    500: '#0f502c',
    950: '#000000',
  },
}
SCSS
$custom: #0f502c;
$custom-light: #598265;
$custom-dark: #000000;
JSON
{
  "hex": "#0f502c",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 44
  },
  "hsl": {
    "h": 146.769,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38195,
    "c": 0.08801,
    "h": 153.8
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#0F502C
secondary
#8A3162
accent
#3D9DEB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0F502C

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

Preview Lab → · Contrast checker → · Palette generator →

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