#214F0C#214F0C

#214F0C is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.1% C 0.108 H 138.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#214F0C
RGBrgb(33, 79, 12)
HSLhsl(101, 74%, 18%)
HSVhsv(101, 85%, 31%)
CMYKcmyk(58.2%, 0%, 84.8%, 69%)
CIE-LABlab(29.26, -28.93, 32.21)
CIE-LCHlch(29.26, 43.29, 131.93°)
OKLaboklab(38.06% -0.08 0.0718)
OKLCHoklch(38.06% 0.108 138.1)
XYZxyz(3.4894, 5.9416, 1.3107)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214F0C #3A0C4F
analogous
#424F0C #214F0C #0C4F18
triadic
#214F0C #0C214F #4F0C21
tetradic
#214F0C #0C424F #3A0C4F #4F180C
square
#214F0C #0C424F #3A0C4F #4F180C
split-complementary
#214F0C #180C4F #4F0C42
monochromatic
#0B1B04 #0B1B04 #214F0C #378414 #4DB91C

Accessibility & contrast

On white

9.60
#214F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#214F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214F0C
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214F0C#FFFFFF#000000##FFFFFF
##214F0C1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4C4413
Tritanopia (blue-blind)
#1D4C42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #214f0c;
/* rgb */ color: rgb(33, 79, 12);
/* oklch */ color: oklch(38.1% 0.108 138.1);
Tailwind
colors: {
  custom: {
    50: '#628151',
    500: '#214f0c',
    950: '#000000',
  },
}
SCSS
$custom: #214f0c;
$custom-light: #628151;
$custom-dark: #000000;
JSON
{
  "hex": "#214f0c",
  "rgb": {
    "r": 33,
    "g": 79,
    "b": 12
  },
  "hsl": {
    "h": 101.194,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38063,
    "c": 0.10751,
    "h": 138.1
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#214F0C
secondary
#6D2C8B
accent
#38F0B6
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #214F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#214F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva