#21854F#21854F

#21854F is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.123 H 154.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#21854F
RGBrgb(33, 133, 79)
HSLhsl(148, 60%, 33%)
HSVhsv(148, 75%, 52%)
CMYKcmyk(75.2%, 0%, 40.6%, 47.8%)
CIE-LABlab(49.08, -41.19, 21.22)
CIE-LCHlch(49.08, 46.33, 152.75°)
OKLaboklab(54.7% -0.1111 0.0529)
OKLCHoklch(54.7% 0.123 154.6)
XYZxyz(10.4250, 17.6617, 10.2552)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21854F #852157
analogous
#258521 #21854F #218581
triadic
#21854F #4F2185 #854F21
tetradic
#21854F #212585 #852157 #858121
square
#21854F #212585 #852157 #858121
split-complementary
#21854F #812185 #852125
monochromatic
#092315 #155432 #21854F #2DB66C #4DD38B

Accessibility & contrast

On white

4.63
#21854F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#21854F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21854F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21854F#FFFFFF#000000##FFFFFF
##21854F1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857A4B
Deuteranopia (green-blind)
#797153
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21854f;
/* rgb */ color: rgb(33, 133, 79);
/* oklch */ color: oklch(54.7% 0.123 154.6);
Tailwind
colors: {
  custom: {
    50: '#6ca981',
    500: '#21854f',
    950: '#000000',
  },
}
SCSS
$custom: #21854f;
$custom-light: #6ca981;
$custom-dark: #000000;
JSON
{
  "hex": "#21854f",
  "rgb": {
    "r": 33,
    "g": 133,
    "b": 79
  },
  "hsl": {
    "h": 147.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.547,
    "c": 0.12306,
    "h": 154.6
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#21854F
secondary
#B64C85
accent
#449AE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #21854F

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

Preview Lab → · Contrast checker → · Palette generator →

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