#223807#223807

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

Color values

HEX#223807
RGBrgb(34, 56, 7)
HSLhsl(87, 78%, 12%)
HSVhsv(87, 88%, 22%)
CMYKcmyk(39.3%, 0%, 87.5%, 78%)
CIE-LABlab(20.77, -17.90, 25.73)
CIE-LCHlch(20.77, 31.34, 124.82°)
OKLaboklab(31.09% -0.0508 0.0581)
OKLCHoklch(31.09% 0.077 131.1)
XYZxyz(2.1122, 3.1837, 0.7042)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223807 #1D0738
analogous
#383607 #223807 #093807
triadic
#223807 #072238 #380722
tetradic
#223807 #073836 #1D0738 #380709
square
#223807 #073836 #1D0738 #380709
split-complementary
#223807 #070938 #360738
monochromatic
#111B03 #111B03 #223807 #436E0E #64A515

Accessibility & contrast

On white

12.83
#223807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223807
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223807#FFFFFF#000000##FFFFFF
##2238071.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223807;
/* rgb */ color: rgb(34, 56, 7);
/* oklch */ color: oklch(31.1% 0.077 131.1);
Tailwind
colors: {
  custom: {
    50: '#5f6e4b',
    500: '#223807',
    950: '#000000',
  },
}
SCSS
$custom: #223807;
$custom-light: #5f6e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#223807",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 7
  },
  "hsl": {
    "h": 86.939,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31092,
    "c": 0.07717,
    "h": 131.1
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#223807
secondary
#492378
accent
#34F48A
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223807

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

Preview Lab → · Contrast checker → · Palette generator →

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