#02260D#02260D

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

Color values

HEX#02260D
RGBrgb(2, 38, 13)
HSLhsl(138, 90%, 8%)
HSVhsv(138, 95%, 15%)
CMYKcmyk(94.7%, 0%, 65.8%, 85.1%)
CIE-LABlab(12.14, -19.95, 12.14)
CIE-LCHlch(12.14, 23.36, 148.67°)
OKLaboklab(23.59% -0.0536 0.0312)
OKLCHoklch(23.59% 0.062 149.8)
XYZxyz(0.7907, 1.4281, 0.6147)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02260D #26021B
analogous
#092602 #02260D #02261F
triadic
#02260D #0D0226 #260D02
tetradic
#02260D #020926 #26021B #261F02
square
#02260D #020926 #26021B #261F02
split-complementary
#02260D #1F0226 #260209
monochromatic
#021D0A #021D0A #02260D #056021 #089A35

Accessibility & contrast

On white

16.33
#02260D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02260D
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02260D#FFFFFF#000000##FFFFFF
##02260D1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02260d;
/* rgb */ color: rgb(2, 38, 13);
/* oklch */ color: oklch(23.6% 0.062 149.8);
Tailwind
colors: {
  custom: {
    50: '#48614c',
    500: '#02260d',
    950: '#000000',
  },
}
SCSS
$custom: #02260d;
$custom-light: #48614c;
$custom-dark: #000000;
JSON
{
  "hex": "#02260d",
  "rgb": {
    "r": 2,
    "g": 38,
    "b": 13
  },
  "hsl": {
    "h": 138.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23593,
    "c": 0.06207,
    "h": 149.8
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#02260D
secondary
#6B1852
accent
#29BEFF
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#010501
muted
#777977

Preview Lab

Preview with #02260D

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

Preview Lab → · Contrast checker → · Palette generator →

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