#223106#223106

#223106 is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 29.0% C 0.067 H 127.1°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#223106
RGBrgb(34, 49, 6)
HSLhsl(81, 78%, 11%)
HSVhsv(81, 88%, 19%)
CMYKcmyk(30.6%, 0%, 87.8%, 80.8%)
CIE-LABlab(18.14, -14.12, 23.13)
CIE-LCHlch(18.14, 27.09, 121.40°)
OKLaboklab(28.96% -0.0406 0.0537)
OKLCHoklch(28.96% 0.067 127.1)
XYZxyz(1.7909, 2.5498, 0.5701)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223106 #150631
analogous
#312A06 #223106 #0C3106
triadic
#223106 #062231 #310622
tetradic
#223106 #06312A #150631 #31060C
square
#223106 #06312A #150631 #31060C
split-complementary
#223106 #060C31 #2A0631
monochromatic
#131B03 #131B03 #223106 #48680D #6E9E13

Accessibility & contrast

On white

13.91
#223106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#223106 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223106
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223106#FFFFFF#000000##FFFFFF
##2231061.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D01
Deuteranopia (green-blind)
#322C0A
Tritanopia (blue-blind)
#242E29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #223106;
/* rgb */ color: rgb(34, 49, 6);
/* oklch */ color: oklch(29.0% 0.067 127.1);
Tailwind
colors: {
  custom: {
    50: '#5f694a',
    500: '#223106',
    950: '#000000',
  },
}
SCSS
$custom: #223106;
$custom-light: #5f694a;
$custom-dark: #000000;
JSON
{
  "hex": "#223106",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 6
  },
  "hsl": {
    "h": 80.93,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28955,
    "c": 0.06733,
    "h": 127.1
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#223106
secondary
#3D2172
accent
#33F577
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #223106

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

Preview Lab → · Contrast checker → · Palette generator →

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