#02260C#02260C

#02260C is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.6% C 0.063 H 149.0°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#02260C
RGBrgb(2, 38, 12)
HSLhsl(137, 90%, 8%)
HSVhsv(137, 95%, 15%)
CMYKcmyk(94.7%, 0%, 68.4%, 85.1%)
CIE-LABlab(12.13, -20.14, 12.59)
CIE-LCHlch(12.13, 23.75, 147.99°)
OKLaboklab(23.57% -0.0542 0.0325)
OKLCHoklch(23.57% 0.063 149)
XYZxyz(0.7844, 1.4256, 0.5816)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02260C #26021C
analogous
#0A2602 #02260C #02261E
triadic
#02260C #0C0226 #260C02
tetradic
#02260C #020A26 #26021C #261E02
square
#02260C #020A26 #26021C #261E02
split-complementary
#02260C #1E0226 #26020A
monochromatic
#021D09 #021D09 #02260C #05601E #089A31

Accessibility & contrast

On white

16.34
#02260C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#02260C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02260C
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02260C#FFFFFF#000000##FFFFFF
##02260C1.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220A
Deuteranopia (green-blind)
#221F0E
Tritanopia (blue-blind)
#002520
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #02260c;
/* rgb */ color: rgb(2, 38, 12);
/* oklch */ color: oklch(23.6% 0.063 149.0);
Tailwind
colors: {
  custom: {
    50: '#48614c',
    500: '#02260c',
    950: '#000000',
  },
}
SCSS
$custom: #02260c;
$custom-light: #48614c;
$custom-dark: #000000;
JSON
{
  "hex": "#02260c",
  "rgb": {
    "r": 2,
    "g": 38,
    "b": 12
  },
  "hsl": {
    "h": 136.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23574,
    "c": 0.0632,
    "h": 149
  },
  "luminance": 0.01426
}

Semantic roles & 50–950 ramp

primary
#02260C
secondary
#6B1854
accent
#29C3FF
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#010501
muted
#777977

Preview Lab

Preview with #02260C

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

Preview Lab → · Contrast checker → · Palette generator →

#02260C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva