#0F3102#0F3102

#0F3102 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.7% C 0.083 H 138.4°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#0F3102
RGBrgb(15, 49, 2)
HSLhsl(103, 92%, 10%)
HSVhsv(103, 96%, 19%)
CMYKcmyk(69.4%, 0%, 95.9%, 80.8%)
CIE-LABlab(17.00, -22.48, 23.12)
CIE-LCHlch(17.00, 32.25, 134.20°)
OKLaboklab(27.71% -0.0622 0.0551)
OKLCHoklch(27.71% 0.083 138.4)
XYZxyz(1.3062, 2.3025, 0.4330)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3102 #240231
analogous
#273102 #0F3102 #02310C
triadic
#0F3102 #020F31 #31020F
tetradic
#0F3102 #022731 #240231 #310C02
square
#0F3102 #022731 #240231 #310C02
split-complementary
#0F3102 #0C0231 #310227
monochromatic
#091D01 #091D01 #0F3102 #216C04 #33A707

Accessibility & contrast

On white

14.38
#0F3102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0F3102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3102
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3102#FFFFFF#000000##FFFFFF
##0F31021.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#2F2906
Tritanopia (blue-blind)
#0C2F28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f3102;
/* rgb */ color: rgb(15, 49, 2);
/* oklch */ color: oklch(27.7% 0.083 138.4);
Tailwind
colors: {
  custom: {
    50: '#526948',
    500: '#0f3102',
    950: '#000000',
  },
}
SCSS
$custom: #0f3102;
$custom-light: #526948;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3102",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 103.404,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27709,
    "c": 0.08309,
    "h": 138.4
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#0F3102
secondary
#5C1975
accent
#29FFC4
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0F3102

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

Preview Lab → · Contrast checker → · Palette generator →

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