#223D07#223D07

#223D07 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.6% C 0.085 H 133.1°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#223D07
RGBrgb(34, 61, 7)
HSLhsl(90, 79%, 13%)
HSVhsv(90, 89%, 24%)
CMYKcmyk(44.3%, 0%, 88.5%, 76.1%)
CIE-LABlab(22.63, -20.50, 27.73)
CIE-LCHlch(22.63, 34.48, 126.47°)
OKLaboklab(32.61% -0.0578 0.0618)
OKLCHoklch(32.61% 0.085 133.1)
XYZxyz(2.3667, 3.6928, 0.7890)
Luminance0.0369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D07 #22073D
analogous
#3D3D07 #223D07 #073D07
triadic
#223D07 #07223D #3D0722
tetradic
#223D07 #073D3D #22073D #3D0707
square
#223D07 #073D3D #22073D #3D0707
split-complementary
#223D07 #07073D #3D073D
monochromatic
#0F1B03 #0F1B03 #223D07 #41740D #5FAB14

Accessibility & contrast

On white

12.08
#223D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#223D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D07
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D07#FFFFFF#000000##FFFFFF
##223D071.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#3C350D
Tritanopia (blue-blind)
#223A33
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #223d07;
/* rgb */ color: rgb(34, 61, 7);
/* oklch */ color: oklch(32.6% 0.085 133.1);
Tailwind
colors: {
  custom: {
    50: '#60724c',
    500: '#223d07',
    950: '#000000',
  },
}
SCSS
$custom: #223d07;
$custom-light: #60724c;
$custom-dark: #000000;
JSON
{
  "hex": "#223d07",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 90,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32614,
    "c": 0.08463,
    "h": 133.1
  },
  "luminance": 0.03693
}

Semantic roles & 50–950 ramp

primary
#223D07
secondary
#50237C
accent
#32F694
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #223D07

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

Preview Lab → · Contrast checker → · Palette generator →

#223D07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva