#21623F#21623F

#21623F is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.5% C 0.088 H 156.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#21623F
RGBrgb(33, 98, 63)
HSLhsl(148, 50%, 26%)
HSVhsv(148, 66%, 38%)
CMYKcmyk(66.3%, 0%, 35.7%, 61.6%)
CIE-LABlab(36.78, -29.60, 14.01)
CIE-LCHlch(36.78, 32.75, 154.67°)
OKLaboklab(44.47% -0.0804 0.0353)
OKLCHoklch(44.47% 0.088 156.3)
XYZxyz(5.8916, 9.4170, 6.2088)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21623F #622144
analogous
#246221 #21623F #21625F
triadic
#21623F #3F2162 #623F21
tetradic
#21623F #212462 #622144 #625F21
square
#21623F #212462 #622144 #625F21
split-complementary
#21623F #5F2162 #622124
monochromatic
#08170F #123422 #21623F #30905C #40BE7A

Accessibility & contrast

On white

7.28
#21623F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#21623F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21623F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21623F#FFFFFF#000000##FFFFFF
##21623F1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A3D
Deuteranopia (green-blind)
#595441
Tritanopia (blue-blind)
#036159
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #21623f;
/* rgb */ color: rgb(33, 98, 63);
/* oklch */ color: oklch(44.5% 0.088 156.3);
Tailwind
colors: {
  custom: {
    50: '#648f74',
    500: '#21623f',
    950: '#000000',
  },
}
SCSS
$custom: #21623f;
$custom-light: #648f74;
$custom-dark: #000000;
JSON
{
  "hex": "#21623f",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 63
  },
  "hsl": {
    "h": 147.692,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44471,
    "c": 0.08783,
    "h": 156.3
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#21623F
secondary
#964972
accent
#4F99D9
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #21623F

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

Preview Lab → · Contrast checker → · Palette generator →

#21623F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva