#223A05#223A05

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

Color values

HEX#223A05
RGBrgb(34, 58, 5)
HSLhsl(87, 84%, 12%)
HSVhsv(87, 91%, 23%)
CMYKcmyk(41.4%, 0%, 91.4%, 77.3%)
CIE-LABlab(21.49, -19.12, 27.34)
CIE-LCHlch(21.49, 33.36, 124.96°)
OKLaboklab(31.68% -0.0543 0.0612)
OKLCHoklch(31.68% 0.082 131.6)
XYZxyz(2.2001, 3.3771, 0.6795)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A05 #1D053A
analogous
#3A3805 #223A05 #073A05
triadic
#223A05 #05223A #3A0522
tetradic
#223A05 #053A38 #1D053A #3A0507
square
#223A05 #053A38 #1D053A #3A0507
split-complementary
#223A05 #05073A #38053A
monochromatic
#111C02 #111C02 #223A05 #43720A #64AB0F

Accessibility & contrast

On white

12.53
#223A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223A05
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A05#FFFFFF#000000##FFFFFF
##223A051.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223a05;
/* rgb */ color: rgb(34, 58, 5);
/* oklch */ color: oklch(31.7% 0.082 131.6);
Tailwind
colors: {
  custom: {
    50: '#60704a',
    500: '#223a05',
    950: '#000000',
  },
}
SCSS
$custom: #223a05;
$custom-light: #60704a;
$custom-dark: #000000;
JSON
{
  "hex": "#223a05",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 87.17,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31682,
    "c": 0.0818,
    "h": 131.6
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#223A05
secondary
#49207B
accent
#2DFA8A
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223A05

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

Preview Lab → · Contrast checker → · Palette generator →

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