#023A0C#023A0C

#023A0C is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.4% C 0.092 H 145.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#023A0C
RGBrgb(2, 58, 12)
HSLhsl(131, 93%, 12%)
HSVhsv(131, 97%, 23%)
CMYKcmyk(96.6%, 0%, 79.3%, 77.3%)
CIE-LABlab(20.30, -28.22, 22.78)
CIE-LCHlch(20.30, 36.27, 141.09°)
OKLaboklab(30.37% -0.076 0.0525)
OKLCHoklch(30.37% 0.092 145.3)
XYZxyz(1.6043, 3.0654, 0.8549)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023A0C #3A0230
analogous
#143A02 #023A0C #023A28
triadic
#023A0C #0C023A #3A0C02
tetradic
#023A0C #02143A #3A0230 #3A2802
square
#023A0C #02143A #3A0230 #3A2802
split-complementary
#023A0C #28023A #3A0214
monochromatic
#011E06 #011E06 #023A0C #047518 #06B024

Accessibility & contrast

On white

13.02
#023A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#023A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023A0C
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023A0C#FFFFFF#000000##FFFFFF
##023A0C1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3306
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#003831
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #023a0c;
/* rgb */ color: rgb(2, 58, 12);
/* oklch */ color: oklch(30.4% 0.092 145.3);
Tailwind
colors: {
  custom: {
    50: '#4f714d',
    500: '#023a0c',
    950: '#000000',
  },
}
SCSS
$custom: #023a0c;
$custom-light: #4f714d;
$custom-dark: #000000;
JSON
{
  "hex": "#023a0c",
  "rgb": {
    "r": 2,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 130.714,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.30371,
    "c": 0.09237,
    "h": 145.3
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#023A0C
secondary
#7D1A6C
accent
#29D9FF
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020801
muted
#787B77

Preview Lab

Preview with #023A0C

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

Preview Lab → · Contrast checker → · Palette generator →

#023A0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva