#223C12#223C12

#223C12 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.074 H 135.3°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#223C12
RGBrgb(34, 60, 18)
HSLhsl(97, 54%, 15%)
HSVhsv(97, 70%, 24%)
CMYKcmyk(43.3%, 0%, 70%, 76.5%)
CIE-LABlab(22.36, -18.96, 22.32)
CIE-LCHlch(22.36, 29.29, 130.34°)
OKLaboklab(32.42% -0.0526 0.052)
OKLCHoklch(32.42% 0.074 135.3)
XYZxyz(2.3847, 3.6154, 1.1443)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C12 #2C123C
analogous
#373C12 #223C12 #123C17
triadic
#223C12 #12223C #3C1222
tetradic
#223C12 #12373C #2C123C #3C1712
square
#223C12 #12373C #2C123C #3C1712
split-complementary
#223C12 #17123C #3C1237
monochromatic
#0D1807 #0D1807 #223C12 #3D6B20 #579A2E

Accessibility & contrast

On white

12.19
#223C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#223C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C12
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C12#FFFFFF#000000##FFFFFF
##223C121.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E370D
Deuteranopia (green-blind)
#3B3515
Tritanopia (blue-blind)
#213A33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #223c12;
/* rgb */ color: rgb(34, 60, 18);
/* oklch */ color: oklch(32.4% 0.074 135.3);
Tailwind
colors: {
  custom: {
    50: '#5f7252',
    500: '#223c12',
    950: '#000000',
  },
}
SCSS
$custom: #223c12;
$custom-light: #5f7252;
$custom-dark: #000000;
JSON
{
  "hex": "#223c12",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 18
  },
  "hsl": {
    "h": 97.143,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.32424,
    "c": 0.07393,
    "h": 135.3
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#223C12
secondary
#5D3575
accent
#4BDDA5
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050802
muted
#797B78

Preview Lab

Preview with #223C12

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

Preview Lab → · Contrast checker → · Palette generator →

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