#223F12#223F12

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

Color values

HEX#223F12
RGBrgb(34, 63, 18)
HSLhsl(99, 56%, 16%)
HSVhsv(99, 71%, 25%)
CMYKcmyk(46%, 0%, 71.4%, 75.3%)
CIE-LABlab(23.47, -20.51, 23.56)
CIE-LCHlch(23.47, 31.24, 131.04°)
OKLaboklab(33.33% -0.0568 0.0546)
OKLCHoklch(33.33% 0.079 136.2)
XYZxyz(2.5463, 3.9386, 1.1982)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F12 #2F123F
analogous
#383F12 #223F12 #123F18
triadic
#223F12 #12223F #3F1222
tetradic
#223F12 #12383F #2F123F #3F1812
square
#223F12 #12383F #2F123F #3F1812
split-complementary
#223F12 #18123F #3F1238
monochromatic
#0D1807 #0D1807 #223F12 #3C6F20 #559E2D

Accessibility & contrast

On white

11.75
#223F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#223F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F12
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F12#FFFFFF#000000##FFFFFF
##223F121.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3D3716
Tritanopia (blue-blind)
#213C36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223f12;
/* rgb */ color: rgb(34, 63, 18);
/* oklch */ color: oklch(33.3% 0.079 136.2);
Tailwind
colors: {
  custom: {
    50: '#607452',
    500: '#223f12',
    950: '#000000',
  },
}
SCSS
$custom: #223f12;
$custom-light: #607452;
$custom-dark: #000000;
JSON
{
  "hex": "#223f12",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 98.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33331,
    "c": 0.0788,
    "h": 136.2
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#223F12
secondary
#603578
accent
#49DFAA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #223F12

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

Preview Lab → · Contrast checker → · Palette generator →

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