#0F5235#0F5235

#0F5235 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.0% C 0.082 H 159.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#0F5235
RGBrgb(15, 82, 53)
HSLhsl(154, 69%, 19%)
HSVhsv(154, 82%, 32%)
CMYKcmyk(81.7%, 0%, 35.4%, 67.8%)
CIE-LABlab(30.38, -28.11, 11.35)
CIE-LCHlch(30.38, 30.32, 158.02°)
OKLaboklab(39.01% -0.0764 0.0287)
OKLCHoklch(39.01% 0.082 159.4)
XYZxyz(3.8565, 6.3927, 4.3981)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5235 #520F2C
analogous
#0F5214 #0F5235 #0F4E52
triadic
#0F5235 #350F52 #52350F
tetradic
#0F5235 #140F52 #520F2C #4E520F
square
#0F5235 #140F52 #520F2C #4E520F
split-complementary
#0F5235 #520F4E #52140F
monochromatic
#051A11 #061E14 #0F5235 #188656 #22B978

Accessibility & contrast

On white

9.22
#0F5235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#0F5235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5235
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5235#FFFFFF#000000##FFFFFF
##0F52351.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B33
Deuteranopia (green-blind)
#494537
Tritanopia (blue-blind)
#00524A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5235;
/* rgb */ color: rgb(15, 82, 53);
/* oklch */ color: oklch(39.0% 0.082 159.4);
Tailwind
colors: {
  custom: {
    50: '#5a836c',
    500: '#0f5235',
    950: '#000000',
  },
}
SCSS
$custom: #0f5235;
$custom-light: #5a836c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5235",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 53
  },
  "hsl": {
    "h": 154.03,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39014,
    "c": 0.08158,
    "h": 159.4
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#0F5235
secondary
#8C3158
accent
#3C88EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5235

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

Preview Lab → · Contrast checker → · Palette generator →

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