#023904#023904

#023904 is a dark, moderate green. Relative luminance 0.029; OKLCH L 30.0% C 0.097 H 143.1°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#023904
RGBrgb(2, 57, 4)
HSLhsl(122, 93%, 12%)
HSVhsv(122, 96%, 22%)
CMYKcmyk(96.5%, 0%, 93%, 77.6%)
CIE-LABlab(19.83, -28.76, 25.55)
CIE-LCHlch(19.83, 38.47, 138.38°)
OKLaboklab(29.96% -0.0779 0.0584)
OKLCHoklch(29.96% 0.097 143.1)
XYZxyz(1.5100, 2.9477, 0.6042)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023904 #390237
analogous
#1C3902 #023904 #023920
triadic
#023904 #040239 #390402
tetradic
#023904 #021C39 #390237 #392002
square
#023904 #021C39 #390237 #392002
split-complementary
#023904 #200239 #39021C
monochromatic
#011E02 #011E02 #023904 #047408 #06AF0C

Accessibility & contrast

On white

13.21
#023904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#023904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023904
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023904#FFFFFF#000000##FFFFFF
##0239041.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#352E0A
Tritanopia (blue-blind)
#00372F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #023904;
/* rgb */ color: rgb(2, 57, 4);
/* oklch */ color: oklch(30.0% 0.097 143.1);
Tailwind
colors: {
  custom: {
    50: '#4f7049',
    500: '#023904',
    950: '#000000',
  },
}
SCSS
$custom: #023904;
$custom-light: #4f7049;
$custom-dark: #000000;
JSON
{
  "hex": "#023904",
  "rgb": {
    "r": 2,
    "g": 57,
    "b": 4
  },
  "hsl": {
    "h": 122.182,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29956,
    "c": 0.09735,
    "h": 143.1
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#023904
secondary
#7D1A79
accent
#29F7FF
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #023904

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

Preview Lab → · Contrast checker → · Palette generator →

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