#223D12#223D12

#223D12 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.7% C 0.076 H 135.6°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#223D12
RGBrgb(34, 61, 18)
HSLhsl(98, 54%, 15%)
HSVhsv(98, 70%, 24%)
CMYKcmyk(44.3%, 0%, 70.5%, 76.1%)
CIE-LABlab(22.73, -19.48, 22.74)
CIE-LCHlch(22.73, 29.94, 130.58°)
OKLaboklab(32.73% -0.054 0.0528)
OKLCHoklch(32.73% 0.076 135.6)
XYZxyz(2.4376, 3.7211, 1.1620)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D12 #2D123D
analogous
#373D12 #223D12 #123D17
triadic
#223D12 #12223D #3D1222
tetradic
#223D12 #12373D #2D123D #3D1712
square
#223D12 #12373D #2D123D #3D1712
split-complementary
#223D12 #17123D #3D1237
monochromatic
#0D1807 #0D1807 #223D12 #3C6C20 #579C2E

Accessibility & contrast

On white

12.04
#223D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#223D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D12
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D12#FFFFFF#000000##FFFFFF
##223D121.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F380D
Deuteranopia (green-blind)
#3C3515
Tritanopia (blue-blind)
#213B34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #223d12;
/* rgb */ color: rgb(34, 61, 18);
/* oklch */ color: oklch(32.7% 0.076 135.6);
Tailwind
colors: {
  custom: {
    50: '#5f7252',
    500: '#223d12',
    950: '#000000',
  },
}
SCSS
$custom: #223d12;
$custom-light: #5f7252;
$custom-dark: #000000;
JSON
{
  "hex": "#223d12",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 97.674,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32726,
    "c": 0.07557,
    "h": 135.6
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#223D12
secondary
#5E3576
accent
#4ADEA7
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050802
muted
#797B78

Preview Lab

Preview with #223D12

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

Preview Lab → · Contrast checker → · Palette generator →

#223D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva