#02230A#02230A

#02230A is a very dark, moderate green. Relative luminance 0.012; OKLCH L 22.5% C 0.061 H 148.5°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#02230A
RGBrgb(2, 35, 10)
HSLhsl(135, 89%, 7%)
HSVhsv(135, 94%, 14%)
CMYKcmyk(94.3%, 0%, 71.4%, 86.3%)
CIE-LABlab(10.83, -18.78, 11.66)
CIE-LCHlch(10.83, 22.10, 148.16°)
OKLaboklab(22.48% -0.0517 0.0317)
OKLCHoklch(22.48% 0.061 148.5)
XYZxyz(0.6808, 1.2368, 0.4899)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02230A #23021B
analogous
#0B2302 #02230A #02231B
triadic
#02230A #0A0223 #230A02
tetradic
#02230A #020B23 #23021B #231B02
square
#02230A #020B23 #23021B #231B02
split-complementary
#02230A #1B0223 #23020B
monochromatic
#021D08 #021D08 #02230A #055D1B #09972B

Accessibility & contrast

On white

16.84
#02230A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#02230A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02230A
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02230A#FFFFFF#000000##FFFFFF
##02230A1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F08
Deuteranopia (green-blind)
#1F1C0C
Tritanopia (blue-blind)
#00221D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #02230a;
/* rgb */ color: rgb(2, 35, 10);
/* oklch */ color: oklch(22.5% 0.061 148.5);
Tailwind
colors: {
  custom: {
    50: '#475e4b',
    500: '#02230a',
    950: '#000000',
  },
}
SCSS
$custom: #02230a;
$custom-light: #475e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#02230a",
  "rgb": {
    "r": 2,
    "g": 35,
    "b": 10
  },
  "hsl": {
    "h": 134.545,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.22484,
    "c": 0.06064,
    "h": 148.5
  },
  "luminance": 0.01237
}

Semantic roles & 50–950 ramp

primary
#02230A
secondary
#691855
accent
#29CBFF
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #02230A

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

Preview Lab → · Contrast checker → · Palette generator →

#02230A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva