#0F5229#0F5229

#0F5229 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.094 H 151.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#0F5229
RGBrgb(15, 82, 41)
HSLhsl(143, 69%, 19%)
HSVhsv(143, 82%, 32%)
CMYKcmyk(81.7%, 0%, 50%, 67.8%)
CIE-LABlab(30.15, -30.77, 18.35)
CIE-LCHlch(30.15, 35.83, 149.19°)
OKLaboklab(38.74% -0.0827 0.045)
OKLCHoklch(38.74% 0.094 151.4)
XYZxyz(3.6142, 6.2958, 3.1221)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5229 #520F38
analogous
#17520F #0F5229 #0F524B
triadic
#0F5229 #290F52 #52290F
tetradic
#0F5229 #0F1752 #520F38 #524B0F
square
#0F5229 #0F1752 #520F38 #524B0F
split-complementary
#0F5229 #4B0F52 #520F17
monochromatic
#051A0D #061E0F #0F5229 #188643 #22B95D

Accessibility & contrast

On white

9.30
#0F5229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#0F5229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5229
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5229#FFFFFF#000000##FFFFFF
##0F52291.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#4A452C
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5229;
/* rgb */ color: rgb(15, 82, 41);
/* oklch */ color: oklch(38.7% 0.094 151.4);
Tailwind
colors: {
  custom: {
    50: '#5a8363',
    500: '#0f5229',
    950: '#000000',
  },
}
SCSS
$custom: #0f5229;
$custom-light: #5a8363;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5229",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 41
  },
  "hsl": {
    "h": 143.284,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38742,
    "c": 0.09421,
    "h": 151.4
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#0F5229
secondary
#8C3169
accent
#3CA8EC
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5229

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

Preview Lab → · Contrast checker → · Palette generator →

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