#223A03#223A03

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

Color values

HEX#223A03
RGBrgb(34, 58, 3)
HSLhsl(86, 90%, 12%)
HSVhsv(86, 95%, 23%)
CMYKcmyk(41.4%, 0%, 94.8%, 77.3%)
CIE-LABlab(21.48, -19.28, 28.14)
CIE-LCHlch(21.48, 34.11, 124.43°)
OKLaboklab(31.66% -0.055 0.0628)
OKLCHoklch(31.66% 0.083 131.2)
XYZxyz(2.1892, 3.3727, 0.6218)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A03 #1B033A
analogous
#3A3703 #223A03 #063A03
triadic
#223A03 #03223A #3A0322
tetradic
#223A03 #033A37 #1B033A #3A0306
square
#223A03 #033A37 #1B033A #3A0306
split-complementary
#223A03 #03063A #37033A
monochromatic
#111D02 #111D02 #223A03 #447406 #66AE09

Accessibility & contrast

On white

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

On black

1.67
#223A03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##223A03#FFFFFF#000000##FFFFFF
##223A031.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223a03;
/* rgb */ color: rgb(34, 58, 3);
/* oklch */ color: oklch(31.7% 0.083 131.2);
Tailwind
colors: {
  custom: {
    50: '#607049',
    500: '#223a03',
    950: '#000000',
  },
}
SCSS
$custom: #223a03;
$custom-light: #607049;
$custom-dark: #000000;
JSON
{
  "hex": "#223a03",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 3
  },
  "hsl": {
    "h": 86.182,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31664,
    "c": 0.08344,
    "h": 131.2
  },
  "luminance": 0.03373
}

Semantic roles & 50–950 ramp

primary
#223A03
secondary
#461C7D
accent
#29FF86
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223A03

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

Preview Lab → · Contrast checker → · Palette generator →

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