#223A04#223A04

#223A04 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.7% C 0.083 H 131.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#223A04
RGBrgb(34, 58, 4)
HSLhsl(87, 87%, 12%)
HSVhsv(87, 93%, 23%)
CMYKcmyk(41.4%, 0%, 93.1%, 77.3%)
CIE-LABlab(21.49, -19.20, 27.74)
CIE-LCHlch(21.49, 33.74, 124.69°)
OKLaboklab(31.67% -0.0546 0.062)
OKLCHoklch(31.67% 0.083 131.4)
XYZxyz(2.1946, 3.3749, 0.6506)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A04 #1C043A
analogous
#3A3704 #223A04 #073A04
triadic
#223A04 #04223A #3A0422
tetradic
#223A04 #043A37 #1C043A #3A0407
square
#223A04 #043A37 #1C043A #3A0407
split-complementary
#223A04 #04073A #37043A
monochromatic
#111D02 #111D02 #223A04 #447308 #65AD0C

Accessibility & contrast

On white

12.54
#223A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#223A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A04
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A04#FFFFFF#000000##FFFFFF
##223A041.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3A3309
Tritanopia (blue-blind)
#233730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #223a04;
/* rgb */ color: rgb(34, 58, 4);
/* oklch */ color: oklch(31.7% 0.083 131.4);
Tailwind
colors: {
  custom: {
    50: '#60704a',
    500: '#223a04',
    950: '#000000',
  },
}
SCSS
$custom: #223a04;
$custom-light: #60704a;
$custom-dark: #000000;
JSON
{
  "hex": "#223a04",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 86.667,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31673,
    "c": 0.08261,
    "h": 131.4
  },
  "luminance": 0.03375
}

Semantic roles & 50–950 ramp

primary
#223A04
secondary
#481E7C
accent
#2BFD88
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223A04

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

Preview Lab → · Contrast checker → · Palette generator →

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