#223F04#223F04

#223F04 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.2% C 0.090 H 133.2°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#223F04
RGBrgb(34, 63, 4)
HSLhsl(89, 88%, 13%)
HSVhsv(89, 94%, 25%)
CMYKcmyk(46%, 0%, 93.7%, 75.3%)
CIE-LABlab(23.35, -21.73, 29.69)
CIE-LCHlch(23.35, 36.80, 126.20°)
OKLaboklab(33.2% -0.0614 0.0655)
OKLCHoklch(33.2% 0.09 133.2)
XYZxyz(2.4591, 3.9037, 0.7388)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F04 #21043F
analogous
#3F3E04 #223F04 #043F04
triadic
#223F04 #04223F #3F0422
tetradic
#223F04 #043F3E #21043F #3F0404
square
#223F04 #043F3E #21043F #3F0404
split-complementary
#223F04 #04043F #3E043F
monochromatic
#101D02 #101D02 #223F04 #417908 #60B20B

Accessibility & contrast

On white

11.79
#223F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#223F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F04
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F04#FFFFFF#000000##FFFFFF
##223F041.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3E370A
Tritanopia (blue-blind)
#223C34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223f04;
/* rgb */ color: rgb(34, 63, 4);
/* oklch */ color: oklch(33.2% 0.090 133.2);
Tailwind
colors: {
  custom: {
    50: '#61744a',
    500: '#223f04',
    950: '#000000',
  },
}
SCSS
$custom: #223f04;
$custom-light: #61744a;
$custom-dark: #000000;
JSON
{
  "hex": "#223f04",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 89.492,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33198,
    "c": 0.08976,
    "h": 133.2
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#223F04
secondary
#4F1E80
accent
#2AFE92
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #223F04

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

Preview Lab → · Contrast checker → · Palette generator →

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