#223805#223805

#223805 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.079 H 130.7°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#223805
RGBrgb(34, 56, 5)
HSLhsl(86, 84%, 12%)
HSVhsv(86, 91%, 22%)
CMYKcmyk(39.3%, 0%, 91.1%, 78%)
CIE-LABlab(20.75, -18.07, 26.53)
CIE-LCHlch(20.75, 32.09, 124.26°)
OKLaboklab(31.07% -0.0514 0.0598)
OKLCHoklch(31.07% 0.079 130.7)
XYZxyz(2.1012, 3.1793, 0.6465)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223805 #1B0538
analogous
#383505 #223805 #093805
triadic
#223805 #052238 #380522
tetradic
#223805 #053835 #1B0538 #380509
square
#223805 #053835 #1B0538 #380509
split-complementary
#223805 #050938 #350538
monochromatic
#111C03 #111C03 #223805 #44700A #66A80F

Accessibility & contrast

On white

12.84
#223805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#223805 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223805
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223805#FFFFFF#000000##FFFFFF
##2238051.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#38310A
Tritanopia (blue-blind)
#23352F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #223805;
/* rgb */ color: rgb(34, 56, 5);
/* oklch */ color: oklch(31.1% 0.079 130.7);
Tailwind
colors: {
  custom: {
    50: '#606e4a',
    500: '#223805',
    950: '#000000',
  },
}
SCSS
$custom: #223805;
$custom-light: #606e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#223805",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 5
  },
  "hsl": {
    "h": 85.882,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31073,
    "c": 0.07885,
    "h": 130.7
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#223805
secondary
#462079
accent
#2EFA86
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223805

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

Preview Lab → · Contrast checker → · Palette generator →

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