#223905#223905

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

Color values

HEX#223905
RGBrgb(34, 57, 5)
HSLhsl(87, 84%, 12%)
HSVhsv(87, 91%, 22%)
CMYKcmyk(40.4%, 0%, 91.2%, 77.6%)
CIE-LABlab(21.12, -18.60, 26.94)
CIE-LCHlch(21.12, 32.73, 124.62°)
OKLaboklab(31.38% -0.0529 0.0605)
OKLCHoklch(31.38% 0.08 131.2)
XYZxyz(2.1502, 3.2772, 0.6628)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223905 #1C0539
analogous
#393605 #223905 #083905
triadic
#223905 #052239 #390522
tetradic
#223905 #053936 #1C0539 #390508
square
#223905 #053936 #1C0539 #390508
split-complementary
#223905 #050839 #360539
monochromatic
#111C02 #111C02 #223905 #44710A #65AA0F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##223905#FFFFFF#000000##FFFFFF
##2239051.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)
#39320A
Tritanopia (blue-blind)
#23362F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #223905;
/* rgb */ color: rgb(34, 57, 5);
/* oklch */ color: oklch(31.4% 0.080 131.2);
Tailwind
colors: {
  custom: {
    50: '#606f4a',
    500: '#223905',
    950: '#000000',
  },
}
SCSS
$custom: #223905;
$custom-light: #606f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#223905",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 5
  },
  "hsl": {
    "h": 86.538,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31378,
    "c": 0.08032,
    "h": 131.2
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#223905
secondary
#48207A
accent
#2EFA88
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223905

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

Preview Lab → · Contrast checker → · Palette generator →

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