#023315#023315

#023315 is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.2% C 0.074 H 151.1°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#023315
RGBrgb(2, 51, 21)
HSLhsl(143, 92%, 10%)
HSVhsv(143, 96%, 20%)
CMYKcmyk(96.1%, 0%, 58.8%, 80%)
CIE-LABlab(17.62, -24.00, 14.62)
CIE-LCHlch(17.62, 28.10, 148.65°)
OKLaboklab(28.18% -0.0643 0.0356)
OKLCHoklch(28.18% 0.074 151.1)
XYZxyz(1.3441, 2.4345, 1.1084)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023315 #330220
analogous
#083302 #023315 #02332D
triadic
#023315 #150233 #331502
tetradic
#023315 #020833 #330220 #332D02
square
#023315 #020833 #330220 #332D02
split-complementary
#023315 #2D0233 #330208
monochromatic
#011D0C #011D0C #023315 #046E2D #07A945

Accessibility & contrast

On white

14.12
#023315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#023315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023315
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023315#FFFFFF#000000##FFFFFF
##0233151.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E13
Deuteranopia (green-blind)
#2E2A17
Tritanopia (blue-blind)
#00322C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #023315;
/* rgb */ color: rgb(2, 51, 21);
/* oklch */ color: oklch(28.2% 0.074 151.1);
Tailwind
colors: {
  custom: {
    50: '#4c6b53',
    500: '#023315',
    950: '#000000',
  },
}
SCSS
$custom: #023315;
$custom-light: #4c6b53;
$custom-dark: #000000;
JSON
{
  "hex": "#023315",
  "rgb": {
    "r": 2,
    "g": 51,
    "b": 21
  },
  "hsl": {
    "h": 143.265,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28178,
    "c": 0.07351,
    "h": 151.1
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#023315
secondary
#771A53
accent
#29ACFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010702
muted
#777A78

Preview Lab

Preview with #023315

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

Preview Lab → · Contrast checker → · Palette generator →

#023315 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva