#0F5223#0F5223

#0F5223 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.6% C 0.100 H 148.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#0F5223
RGBrgb(15, 82, 35)
HSLhsl(138, 69%, 19%)
HSVhsv(138, 82%, 32%)
CMYKcmyk(81.7%, 0%, 57.3%, 67.8%)
CIE-LABlab(30.05, -31.88, 21.72)
CIE-LCHlch(30.05, 38.57, 145.73°)
OKLaboklab(38.63% -0.0857 0.0523)
OKLCHoklch(38.63% 0.1 148.6)
XYZxyz(3.5174, 6.2571, 2.6121)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5223 #520F3E
analogous
#1D520F #0F5223 #0F5245
triadic
#0F5223 #230F52 #52230F
tetradic
#0F5223 #0F1D52 #520F3E #52450F
square
#0F5223 #0F1D52 #520F3E #52450F
split-complementary
#0F5223 #450F52 #520F1D
monochromatic
#051A0B #061E0D #0F5223 #188639 #22B94F

Accessibility & contrast

On white

9.33
#0F5223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#0F5223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5223
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5223#FFFFFF#000000##FFFFFF
##0F52231.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1F
Deuteranopia (green-blind)
#4B4527
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5223;
/* rgb */ color: rgb(15, 82, 35);
/* oklch */ color: oklch(38.6% 0.100 148.6);
Tailwind
colors: {
  custom: {
    50: '#5a835f',
    500: '#0f5223',
    950: '#000000',
  },
}
SCSS
$custom: #0f5223;
$custom-light: #5a835f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5223",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 35
  },
  "hsl": {
    "h": 137.91,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38633,
    "c": 0.10043,
    "h": 148.6
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#0F5223
secondary
#8C3171
accent
#3CB7EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5223

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

Preview Lab → · Contrast checker → · Palette generator →

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