#0A2F02#0A2F02

#0A2F02 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.8% C 0.083 H 140.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#0A2F02
RGBrgb(10, 47, 2)
HSLhsl(109, 92%, 10%)
HSVhsv(109, 96%, 18%)
CMYKcmyk(78.7%, 0%, 95.7%, 81.6%)
CIE-LABlab(16.01, -23.11, 21.85)
CIE-LCHlch(16.01, 31.81, 136.61°)
OKLaboklab(26.84% -0.0635 0.0532)
OKLCHoklch(26.84% 0.083 140)
XYZxyz(1.1526, 2.1018, 0.4024)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2F02 #27022F
analogous
#212F02 #0A2F02 #022F10
triadic
#0A2F02 #020A2F #2F020A
tetradic
#0A2F02 #02212F #27022F #2F1002
square
#0A2F02 #02212F #27022F #2F1002
split-complementary
#0A2F02 #10022F #2F0221
monochromatic
#061D01 #061D01 #0A2F02 #166A04 #23A407

Accessibility & contrast

On white

14.78
#0A2F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0A2F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2F02
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2F02#FFFFFF#000000##FFFFFF
##0A2F021.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2C2706
Tritanopia (blue-blind)
#052D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0a2f02;
/* rgb */ color: rgb(10, 47, 2);
/* oklch */ color: oklch(26.8% 0.083 140.0);
Tailwind
colors: {
  custom: {
    50: '#4f6848',
    500: '#0a2f02',
    950: '#000000',
  },
}
SCSS
$custom: #0a2f02;
$custom-light: #4f6848;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2f02",
  "rgb": {
    "r": 10,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 109.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2684,
    "c": 0.08284,
    "h": 140
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#0A2F02
secondary
#641974
accent
#29FFD9
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0A2F02

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

Preview Lab → · Contrast checker → · Palette generator →

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