#02260E#02260E

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

Color values

HEX#02260E
RGBrgb(2, 38, 14)
HSLhsl(140, 90%, 8%)
HSVhsv(140, 95%, 15%)
CMYKcmyk(94.7%, 0%, 63.2%, 85.1%)
CIE-LABlab(12.16, -19.76, 11.68)
CIE-LCHlch(12.16, 22.95, 149.41°)
OKLaboklab(23.61% -0.0531 0.0299)
OKLCHoklch(23.61% 0.061 150.6)
XYZxyz(0.7973, 1.4307, 0.6495)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02260E #26021A
analogous
#082602 #02260E #022620
triadic
#02260E #0E0226 #260E02
tetradic
#02260E #020826 #26021A #262002
square
#02260E #020826 #26021A #262002
split-complementary
#02260E #200226 #260208
monochromatic
#021D0B #021D0B #02260E #056023 #089A39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##02260E#FFFFFF#000000##FFFFFF
##02260E1.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)
#26220C
Deuteranopia (green-blind)
#221F10
Tritanopia (blue-blind)
#002520
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #02260e;
/* rgb */ color: rgb(2, 38, 14);
/* oklch */ color: oklch(23.6% 0.061 150.6);
Tailwind
colors: {
  custom: {
    50: '#48614d',
    500: '#02260e',
    950: '#000000',
  },
}
SCSS
$custom: #02260e;
$custom-light: #48614d;
$custom-dark: #000000;
JSON
{
  "hex": "#02260e",
  "rgb": {
    "r": 2,
    "g": 38,
    "b": 14
  },
  "hsl": {
    "h": 140,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23613,
    "c": 0.06091,
    "h": 150.6
  },
  "luminance": 0.01431
}

Semantic roles & 50–950 ramp

primary
#02260E
secondary
#6B1850
accent
#29B8FF
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#010501
muted
#777977

Preview Lab

Preview with #02260E

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

Preview Lab → · Contrast checker → · Palette generator →

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