#223906#223906

#223906 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.4% C 0.080 H 131.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#223906
RGBrgb(34, 57, 6)
HSLhsl(87, 81%, 12%)
HSVhsv(87, 89%, 22%)
CMYKcmyk(40.4%, 0%, 89.5%, 77.6%)
CIE-LABlab(21.13, -18.51, 26.54)
CIE-LCHlch(21.13, 32.36, 124.90°)
OKLaboklab(31.39% -0.0525 0.0597)
OKLCHoklch(31.39% 0.08 131.4)
XYZxyz(2.1557, 3.2794, 0.6917)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223906 #1D0639
analogous
#393706 #223906 #083906
triadic
#223906 #062239 #390622
tetradic
#223906 #063937 #1D0639 #390608
square
#223906 #063937 #1D0639 #390608
split-complementary
#223906 #060839 #370639
monochromatic
#111C03 #111C03 #223906 #43700C #64A812

Accessibility & contrast

On white

12.68
#223906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#223906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223906
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223906#FFFFFF#000000##FFFFFF
##2239061.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#39320B
Tritanopia (blue-blind)
#23362F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #223906;
/* rgb */ color: rgb(34, 57, 6);
/* oklch */ color: oklch(31.4% 0.080 131.4);
Tailwind
colors: {
  custom: {
    50: '#606f4b',
    500: '#223906',
    950: '#000000',
  },
}
SCSS
$custom: #223906;
$custom-light: #606f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#223906",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 87.059,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31387,
    "c": 0.0795,
    "h": 131.4
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#223906
secondary
#492279
accent
#30F78A
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223906

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

Preview Lab → · Contrast checker → · Palette generator →

#223906 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva