#023902#023902

#023902 is a dark, moderate green. Relative luminance 0.029; OKLCH L 29.9% C 0.099 H 142.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#023902
RGBrgb(2, 57, 2)
HSLhsl(120, 93%, 12%)
HSVhsv(120, 96%, 22%)
CMYKcmyk(96.5%, 0%, 96.5%, 77.6%)
CIE-LABlab(19.82, -28.99, 26.35)
CIE-LCHlch(19.82, 39.17, 137.73°)
OKLaboklab(29.94% -0.0787 0.0602)
OKLCHoklch(29.94% 0.099 142.6)
XYZxyz(1.4990, 2.9434, 0.5465)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023902 #390239
analogous
#1E3902 #023902 #02391E
triadic
#023902 #020239 #390202
tetradic
#023902 #021E39 #390239 #391E02
square
#023902 #021E39 #390239 #391E02
split-complementary
#023902 #1E0239 #39021E
monochromatic
#011E01 #011E01 #023902 #047404 #06AF06

Accessibility & contrast

On white

13.22
#023902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #023902
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023902#FFFFFF#000000##FFFFFF
##0239021.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #023902;
/* rgb */ color: rgb(2, 57, 2);
/* oklch */ color: oklch(29.9% 0.099 142.6);
Tailwind
colors: {
  custom: {
    50: '#4f7048',
    500: '#023902',
    950: '#000000',
  },
}
SCSS
$custom: #023902;
$custom-light: #4f7048;
$custom-dark: #000000;
JSON
{
  "hex": "#023902",
  "rgb": {
    "r": 2,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29936,
    "c": 0.09904,
    "h": 142.6
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#023902
secondary
#7D1A7D
accent
#29FFFF
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #023902

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

Preview Lab → · Contrast checker → · Palette generator →

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