#023B04#023B04

#023B04 is a dark, moderate green. Relative luminance 0.032; OKLCH L 30.6% C 0.100 H 143.1°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#023B04
RGBrgb(2, 59, 4)
HSLhsl(122, 93%, 12%)
HSVhsv(122, 97%, 23%)
CMYKcmyk(96.6%, 0%, 93.2%, 76.9%)
CIE-LABlab(20.63, -29.47, 26.45)
CIE-LCHlch(20.63, 39.60, 138.09°)
OKLaboklab(30.62% -0.0798 0.0599)
OKLCHoklch(30.62% 0.1 143.1)
XYZxyz(1.6108, 3.1494, 0.6378)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023B04 #3B0239
analogous
#1D3B02 #023B04 #023B21
triadic
#023B04 #04023B #3B0402
tetradic
#023B04 #021D3B #3B0239 #3B2102
square
#023B04 #021D3B #3B0239 #3B2102
split-complementary
#023B04 #21023B #3B021D
monochromatic
#011E02 #011E02 #023B04 #047608 #06B10C

Accessibility & contrast

On white

12.88
#023B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #023B04
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023B04#FFFFFF#000000##FFFFFF
##023B041.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#37300A
Tritanopia (blue-blind)
#003931
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #023b04;
/* rgb */ color: rgb(2, 59, 4);
/* oklch */ color: oklch(30.6% 0.100 143.1);
Tailwind
colors: {
  custom: {
    50: '#507249',
    500: '#023b04',
    950: '#000000',
  },
}
SCSS
$custom: #023b04;
$custom-light: #507249;
$custom-dark: #000000;
JSON
{
  "hex": "#023b04",
  "rgb": {
    "r": 2,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 122.105,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30623,
    "c": 0.09981,
    "h": 143.1
  },
  "luminance": 0.0315
}

Semantic roles & 50–950 ramp

primary
#023B04
secondary
#7E1A7B
accent
#29F7FF
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020801
muted
#787B77

Preview Lab

Preview with #023B04

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

Preview Lab → · Contrast checker → · Palette generator →

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