#223B04#223B04

#223B04 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.0% C 0.084 H 131.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#223B04
RGBrgb(34, 59, 4)
HSLhsl(87, 87%, 12%)
HSVhsv(87, 93%, 23%)
CMYKcmyk(42.4%, 0%, 93.2%, 76.9%)
CIE-LABlab(21.86, -19.72, 28.14)
CIE-LCHlch(21.86, 34.36, 125.02°)
OKLaboklab(31.98% -0.056 0.0627)
OKLCHoklch(31.98% 0.084 131.8)
XYZxyz(2.2455, 3.4767, 0.6676)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223B04 #1D043B
analogous
#3B3904 #223B04 #063B04
triadic
#223B04 #04223B #3B0422
tetradic
#223B04 #043B39 #1D043B #3B0406
square
#223B04 #043B39 #1D043B #3B0406
split-complementary
#223B04 #04063B #39043B
monochromatic
#111D02 #111D02 #223B04 #437408 #64AE0C

Accessibility & contrast

On white

12.39
#223B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#223B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223B04
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223B04#FFFFFF#000000##FFFFFF
##223B041.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3B3409
Tritanopia (blue-blind)
#233831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #223b04;
/* rgb */ color: rgb(34, 59, 4);
/* oklch */ color: oklch(32.0% 0.084 131.8);
Tailwind
colors: {
  custom: {
    50: '#60714a',
    500: '#223b04',
    950: '#000000',
  },
}
SCSS
$custom: #223b04;
$custom-light: #60714a;
$custom-dark: #000000;
JSON
{
  "hex": "#223b04",
  "rgb": {
    "r": 34,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 87.273,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31978,
    "c": 0.08405,
    "h": 131.8
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#223B04
secondary
#491E7D
accent
#2AFD8A
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223B04

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

Preview Lab → · Contrast checker → · Palette generator →

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