#223A14#223A14

#223A14 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.8% C 0.068 H 135.5°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#223A14
RGBrgb(34, 58, 20)
HSLhsl(98, 49%, 15%)
HSVhsv(98, 66%, 23%)
CMYKcmyk(41.4%, 0%, 65.5%, 77.3%)
CIE-LABlab(21.64, -17.64, 20.39)
CIE-LCHlch(21.64, 26.96, 130.87°)
OKLaboklab(31.85% -0.0488 0.048)
OKLCHoklch(31.85% 0.068 135.5)
XYZxyz(2.2990, 3.4166, 1.2000)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A14 #2C143A
analogous
#353A14 #223A14 #143A19
triadic
#223A14 #14223A #3A1422
tetradic
#223A14 #14353A #2C143A #3A1914
square
#223A14 #14353A #2C143A #3A1914
split-complementary
#223A14 #19143A #3A1435
monochromatic
#0D1708 #0D1708 #223A14 #3D6824 #579533

Accessibility & contrast

On white

12.47
#223A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#223A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A14
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A14#FFFFFF#000000##FFFFFF
##223A141.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3510
Deuteranopia (green-blind)
#393317
Tritanopia (blue-blind)
#213832
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #223a14;
/* rgb */ color: rgb(34, 58, 20);
/* oklch */ color: oklch(31.8% 0.068 135.5);
Tailwind
colors: {
  custom: {
    50: '#5f7053',
    500: '#223a14',
    950: '#000000',
  },
}
SCSS
$custom: #223a14;
$custom-light: #5f7053;
$custom-dark: #000000;
JSON
{
  "hex": "#223a14",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 20
  },
  "hsl": {
    "h": 97.895,
    "s": 48.718,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31848,
    "c": 0.06849,
    "h": 135.5
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#223A14
secondary
#5D3872
accent
#50D8A6
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050702
muted
#797A78

Preview Lab

Preview with #223A14

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

Preview Lab → · Contrast checker → · Palette generator →

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