#0F7628#0F7628

#0F7628 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.144 H 146.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#0F7628
RGBrgb(15, 118, 40)
HSLhsl(135, 77%, 26%)
HSVhsv(135, 87%, 46%)
CMYKcmyk(87.3%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.08, -44.49, 34.36)
CIE-LCHlch(43.08, 56.22, 142.32°)
OKLaboklab(49.46% -0.1197 0.0802)
OKLCHoklch(49.46% 0.144 146.2)
XYZxyz(7.0579, 13.2107, 4.1850)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7628 #760F5D
analogous
#29760F #0F7628 #0F765B
triadic
#0F7628 #280F76 #76280F
tetradic
#0F7628 #0F2976 #760F5D #765B0F
square
#0F7628 #0F2976 #760F5D #765B0F
split-complementary
#0F7628 #5B0F76 #760F29
monochromatic
#031B09 #084016 #0F7628 #16AC3A #1DE24D

Accessibility & contrast

On white

5.77
#0F7628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#0F7628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7628
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7628#FFFFFF#000000##FFFFFF
##0F76281.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1F
Deuteranopia (green-blind)
#6D632F
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #0f7628;
/* rgb */ color: rgb(15, 118, 40);
/* oklch */ color: oklch(49.5% 0.144 146.2);
Tailwind
colors: {
  custom: {
    50: '#649f65',
    500: '#0f7628',
    950: '#000000',
  },
}
SCSS
$custom: #0f7628;
$custom-light: #649f65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7628",
  "rgb": {
    "r": 15,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 134.563,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49463,
    "c": 0.14408,
    "h": 146.2
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#0F7628
secondary
#AD3390
accent
#34C5F4
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #0F7628

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

Preview Lab → · Contrast checker → · Palette generator →

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