#02260F#02260F

#02260F is a very dark, muted green. Relative luminance 0.014; OKLCH L 23.6% C 0.060 H 151.5°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#02260F
RGBrgb(2, 38, 15)
HSLhsl(142, 90%, 8%)
HSVhsv(142, 95%, 15%)
CMYKcmyk(94.7%, 0%, 60.5%, 85.1%)
CIE-LABlab(12.18, -19.55, 11.18)
CIE-LCHlch(12.18, 22.52, 150.23°)
OKLaboklab(23.63% -0.0525 0.0285)
OKLCHoklch(23.63% 0.06 151.5)
XYZxyz(0.8043, 1.4335, 0.6862)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02260F #260219
analogous
#072602 #02260F #022621
triadic
#02260F #0F0226 #260F02
tetradic
#02260F #020726 #260219 #262102
square
#02260F #020726 #260219 #262102
split-complementary
#02260F #210226 #260207
monochromatic
#021D0B #021D0B #02260F #056026 #089A3D

Accessibility & contrast

On white

16.32
#02260F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02260F
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02260F#FFFFFF#000000##FFFFFF
##02260F1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220D
Deuteranopia (green-blind)
#221F11
Tritanopia (blue-blind)
#002521
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #02260f;
/* rgb */ color: rgb(2, 38, 15);
/* oklch */ color: oklch(23.6% 0.060 151.5);
Tailwind
colors: {
  custom: {
    50: '#48614e',
    500: '#02260f',
    950: '#000000',
  },
}
SCSS
$custom: #02260f;
$custom-light: #48614e;
$custom-dark: #000000;
JSON
{
  "hex": "#02260f",
  "rgb": {
    "r": 2,
    "g": 38,
    "b": 15
  },
  "hsl": {
    "h": 141.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23634,
    "c": 0.05975,
    "h": 151.5
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#02260F
secondary
#6B184D
accent
#29B2FF
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000501
muted
#777977

Preview Lab

Preview with #02260F

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

Preview Lab → · Contrast checker → · Palette generator →

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