#223A06#223A06

#223A06 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.7% C 0.081 H 131.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#223A06
RGBrgb(34, 58, 6)
HSLhsl(88, 81%, 13%)
HSVhsv(88, 90%, 23%)
CMYKcmyk(41.4%, 0%, 89.7%, 77.3%)
CIE-LABlab(21.50, -19.04, 26.94)
CIE-LCHlch(21.50, 32.99, 125.24°)
OKLaboklab(31.69% -0.0539 0.0604)
OKLCHoklch(31.69% 0.081 131.8)
XYZxyz(2.2056, 3.3793, 0.7083)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A06 #1E063A
analogous
#3A3806 #223A06 #083A06
triadic
#223A06 #06223A #3A0622
tetradic
#223A06 #063A38 #1E063A #3A0608
square
#223A06 #063A38 #1E063A #3A0608
split-complementary
#223A06 #06083A #38063A
monochromatic
#101C03 #101C03 #223A06 #43710C #63A911

Accessibility & contrast

On white

12.53
#223A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223A06
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A06#FFFFFF#000000##FFFFFF
##223A061.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#233730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #223a06;
/* rgb */ color: rgb(34, 58, 6);
/* oklch */ color: oklch(31.7% 0.081 131.8);
Tailwind
colors: {
  custom: {
    50: '#60704b',
    500: '#223a06',
    950: '#000000',
  },
}
SCSS
$custom: #223a06;
$custom-light: #60704b;
$custom-dark: #000000;
JSON
{
  "hex": "#223a06",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 87.692,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31692,
    "c": 0.08099,
    "h": 131.8
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#223A06
secondary
#4A227A
accent
#30F88C
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223A06

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

Preview Lab → · Contrast checker → · Palette generator →

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