#0F5022#0F5022

#0F5022 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.099 H 148.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#0F5022
RGBrgb(15, 80, 34)
HSLhsl(138, 68%, 19%)
HSVhsv(138, 81%, 31%)
CMYKcmyk(81.3%, 0%, 57.5%, 68.6%)
CIE-LABlab(29.30, -31.24, 21.36)
CIE-LCHlch(29.30, 37.85, 145.64°)
OKLaboklab(38% -0.084 0.0515)
OKLCHoklch(38% 0.099 148.5)
XYZxyz(3.3541, 5.9540, 2.4855)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5022 #500F3D
analogous
#1C500F #0F5022 #0F5042
triadic
#0F5022 #220F50 #50220F
tetradic
#0F5022 #0F1C50 #500F3D #50420F
square
#0F5022 #0F1C50 #500F3D #50420F
split-complementary
#0F5022 #420F50 #500F1C
monochromatic
#051A0B #051C0C #0F5022 #198438 #22B74E

Accessibility & contrast

On white

9.59
#0F5022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#0F5022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5022
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5022#FFFFFF#000000##FFFFFF
##0F50221.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481E
Deuteranopia (green-blind)
#494325
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5022;
/* rgb */ color: rgb(15, 80, 34);
/* oklch */ color: oklch(38.0% 0.099 148.5);
Tailwind
colors: {
  custom: {
    50: '#59825e',
    500: '#0f5022',
    950: '#000000',
  },
}
SCSS
$custom: #0f5022;
$custom-light: #59825e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5022",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 34
  },
  "hsl": {
    "h": 137.538,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38002,
    "c": 0.09853,
    "h": 148.5
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#0F5022
secondary
#8A3170
accent
#3DB8EB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F5022

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

Preview Lab → · Contrast checker → · Palette generator →

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