#0F7020#0F7020

#0F7020 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.6% C 0.143 H 145.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#0F7020
RGBrgb(15, 112, 32)
HSLhsl(131, 76%, 25%)
HSVhsv(131, 87%, 44%)
CMYKcmyk(86.6%, 0%, 71.4%, 56.1%)
CIE-LABlab(40.89, -43.37, 35.64)
CIE-LCHlch(40.89, 56.13, 140.59°)
OKLaboklab(47.62% -0.1169 0.082)
OKLCHoklch(47.62% 0.143 145)
XYZxyz(6.2514, 11.7934, 3.3131)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7020 #700F5F
analogous
#2F700F #0F7020 #0F7050
triadic
#0F7020 #200F70 #70200F
tetradic
#0F7020 #0F2F70 #700F5F #70500F
square
#0F7020 #0F2F70 #700F5F #70500F
split-complementary
#0F7020 #500F70 #700F2F
monochromatic
#041B08 #083A11 #0F7020 #16A62F #1DDC3F

Accessibility & contrast

On white

6.25
#0F7020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#0F7020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7020
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7020#FFFFFF#000000##FFFFFF
##0F70201.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726515
Deuteranopia (green-blind)
#685E28
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #0f7020;
/* rgb */ color: rgb(15, 112, 32);
/* oklch */ color: oklch(47.6% 0.143 145.0);
Tailwind
colors: {
  custom: {
    50: '#639a60',
    500: '#0f7020',
    950: '#000000',
  },
}
SCSS
$custom: #0f7020;
$custom-light: #639a60;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7020",
  "rgb": {
    "r": 15,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 130.515,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47615,
    "c": 0.14284,
    "h": 145
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

primary
#0F7020
secondary
#A83393
accent
#35D2F3
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #0F7020

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

Preview Lab → · Contrast checker → · Palette generator →

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