#223F0F#223F0F

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

Color values

HEX#223F0F
RGBrgb(34, 63, 15)
HSLhsl(96, 62%, 15%)
HSVhsv(96, 76%, 25%)
CMYKcmyk(46%, 0%, 76.2%, 75.3%)
CIE-LABlab(23.44, -20.83, 25.06)
CIE-LCHlch(23.44, 32.58, 129.73°)
OKLaboklab(33.3% -0.058 0.0573)
OKLCHoklch(33.3% 0.082 135.3)
XYZxyz(2.5234, 3.9295, 1.0773)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F0F #2C0F3F
analogous
#3A3F0F #223F0F #0F3F14
triadic
#223F0F #0F223F #3F0F22
tetradic
#223F0F #0F3A3F #2C0F3F #3F140F
square
#223F0F #0F3A3F #2C0F3F #3F140F
split-complementary
#223F0F #140F3F #3F0F3A
monochromatic
#0D1906 #0D1906 #223F0F #3D701B #57A227

Accessibility & contrast

On white

11.76
#223F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223F0F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F0F#FFFFFF#000000##FFFFFF
##223F0F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423908
Deuteranopia (green-blind)
#3E3713
Tritanopia (blue-blind)
#213C35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223f0f;
/* rgb */ color: rgb(34, 63, 15);
/* oklch */ color: oklch(33.3% 0.082 135.3);
Tailwind
colors: {
  custom: {
    50: '#607450',
    500: '#223f0f',
    950: '#000000',
  },
}
SCSS
$custom: #223f0f;
$custom-light: #607450;
$custom-dark: #000000;
JSON
{
  "hex": "#223f0f",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 15
  },
  "hsl": {
    "h": 96.25,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33296,
    "c": 0.08152,
    "h": 135.3
  },
  "luminance": 0.0393
}

Semantic roles & 50–950 ramp

primary
#223F0F
secondary
#5D3079
accent
#43E5A5
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #223F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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