#223707#223707

#223707 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.8% C 0.076 H 130.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#223707
RGBrgb(34, 55, 7)
HSLhsl(86, 77%, 12%)
HSVhsv(86, 87%, 22%)
CMYKcmyk(38.2%, 0%, 87.3%, 78.4%)
CIE-LABlab(20.39, -17.36, 25.31)
CIE-LCHlch(20.39, 30.70, 124.44°)
OKLaboklab(30.79% -0.0493 0.0574)
OKLCHoklch(30.79% 0.076 130.7)
XYZxyz(2.0642, 3.0877, 0.6882)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223707 #1C0737
analogous
#373407 #223707 #0A3707
triadic
#223707 #072237 #370722
tetradic
#223707 #073734 #1C0737 #37070A
square
#223707 #073734 #1C0737 #37070A
split-complementary
#223707 #070A37 #340737
monochromatic
#111B03 #111B03 #223707 #446D0E #65A415

Accessibility & contrast

On white

12.98
#223707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#223707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223707
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223707#FFFFFF#000000##FFFFFF
##2237071.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3201
Deuteranopia (green-blind)
#37310C
Tritanopia (blue-blind)
#23342E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #223707;
/* rgb */ color: rgb(34, 55, 7);
/* oklch */ color: oklch(30.8% 0.076 130.7);
Tailwind
colors: {
  custom: {
    50: '#5f6e4b',
    500: '#223707',
    950: '#000000',
  },
}
SCSS
$custom: #223707;
$custom-light: #5f6e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#223707",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 7
  },
  "hsl": {
    "h": 86.25,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30788,
    "c": 0.07565,
    "h": 130.7
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#223707
secondary
#482377
accent
#34F488
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223707

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

Preview Lab → · Contrast checker → · Palette generator →

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