#023B0C#023B0C

#023B0C is a dark, moderate green. Relative luminance 0.032; OKLCH L 30.7% C 0.094 H 145.2°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#023B0C
RGBrgb(2, 59, 12)
HSLhsl(131, 93%, 12%)
HSVhsv(131, 97%, 23%)
CMYKcmyk(96.6%, 0%, 79.7%, 76.9%)
CIE-LABlab(20.70, -28.60, 23.22)
CIE-LCHlch(20.70, 36.84, 140.92°)
OKLaboklab(30.7% -0.077 0.0534)
OKLCHoklch(30.7% 0.094 145.2)
XYZxyz(1.6552, 3.1672, 0.8718)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023B0C #3B0231
analogous
#153B02 #023B0C #023B29
triadic
#023B0C #0C023B #3B0C02
tetradic
#023B0C #02153B #3B0231 #3B2902
square
#023B0C #02153B #3B0231 #3B2902
split-complementary
#023B0C #29023B #3B0215
monochromatic
#011E06 #011E06 #023B0C #047618 #06B124

Accessibility & contrast

On white

12.86
#023B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#023B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023B0C
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023B0C#FFFFFF#000000##FFFFFF
##023B0C1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3406
Deuteranopia (green-blind)
#363011
Tritanopia (blue-blind)
#003932
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #023b0c;
/* rgb */ color: rgb(2, 59, 12);
/* oklch */ color: oklch(30.7% 0.094 145.2);
Tailwind
colors: {
  custom: {
    50: '#50724d',
    500: '#023b0c',
    950: '#000000',
  },
}
SCSS
$custom: #023b0c;
$custom-light: #50724d;
$custom-dark: #000000;
JSON
{
  "hex": "#023b0c",
  "rgb": {
    "r": 2,
    "g": 59,
    "b": 12
  },
  "hsl": {
    "h": 130.526,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30702,
    "c": 0.09371,
    "h": 145.2
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #023B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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