#223904#223904

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

Color values

HEX#223904
RGBrgb(34, 57, 4)
HSLhsl(86, 87%, 12%)
HSVhsv(86, 93%, 22%)
CMYKcmyk(40.4%, 0%, 93%, 77.6%)
CIE-LABlab(21.11, -18.68, 27.33)
CIE-LCHlch(21.11, 33.11, 124.35°)
OKLaboklab(31.37% -0.0532 0.0613)
OKLCHoklch(31.37% 0.081 131)
XYZxyz(2.1447, 3.2750, 0.6340)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223904 #1B0439
analogous
#393604 #223904 #073904
triadic
#223904 #042239 #390422
tetradic
#223904 #043936 #1B0439 #390407
square
#223904 #043936 #1B0439 #390407
split-complementary
#223904 #040739 #360439
monochromatic
#111D02 #111D02 #223904 #447208 #66AB0C

Accessibility & contrast

On white

12.69
#223904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223904
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223904#FFFFFF#000000##FFFFFF
##2239041.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223904;
/* rgb */ color: rgb(34, 57, 4);
/* oklch */ color: oklch(31.4% 0.081 131.0);
Tailwind
colors: {
  custom: {
    50: '#606f4a',
    500: '#223904',
    950: '#000000',
  },
}
SCSS
$custom: #223904;
$custom-light: #606f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#223904",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 4
  },
  "hsl": {
    "h": 86.038,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31368,
    "c": 0.08116,
    "h": 131
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#223904
secondary
#461E7B
accent
#2BFD86
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223904

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

Preview Lab → · Contrast checker → · Palette generator →

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