#223F0C#223F0C

#223F0C is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.084 H 134.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#223F0C
RGBrgb(34, 63, 12)
HSLhsl(94, 68%, 15%)
HSVhsv(94, 81%, 25%)
CMYKcmyk(46%, 0%, 81%, 75.3%)
CIE-LABlab(23.41, -21.10, 26.45)
CIE-LCHlch(23.41, 33.84, 128.59°)
OKLaboklab(33.27% -0.059 0.0598)
OKLCHoklch(33.27% 0.084 134.6)
XYZxyz(2.5035, 3.9215, 0.9728)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F0C #290C3F
analogous
#3C3F0C #223F0C #0C3F10
triadic
#223F0C #0C223F #3F0C22
tetradic
#223F0C #0C3C3F #290C3F #3F100C
square
#223F0C #0C3C3F #290C3F #3F100C
split-complementary
#223F0C #100C3F #3F0C3C
monochromatic
#0E1A05 #0E1A05 #223F0C #3E7216 #59A620

Accessibility & contrast

On white

11.77
#223F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223F0C
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F0C#FFFFFF#000000##FFFFFF
##223F0C1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423905
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#223C35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223f0c;
/* rgb */ color: rgb(34, 63, 12);
/* oklch */ color: oklch(33.3% 0.084 134.6);
Tailwind
colors: {
  custom: {
    50: '#60744e',
    500: '#223f0c',
    950: '#000000',
  },
}
SCSS
$custom: #223f0c;
$custom-light: #60744e;
$custom-dark: #000000;
JSON
{
  "hex": "#223f0c",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 94.118,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33266,
    "c": 0.08396,
    "h": 134.6
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#223F0C
secondary
#592C7B
accent
#3DEBA0
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #223F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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