#223F08#223F08

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

Color values

HEX#223F08
RGBrgb(34, 63, 8)
HSLhsl(92, 77%, 14%)
HSVhsv(92, 87%, 25%)
CMYKcmyk(46%, 0%, 87.3%, 75.3%)
CIE-LABlab(23.38, -21.42, 28.09)
CIE-LCHlch(23.38, 35.33, 127.33°)
OKLaboklab(33.23% -0.0602 0.0626)
OKLCHoklch(33.23% 0.087 133.9)
XYZxyz(2.4810, 3.9125, 0.8541)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F08 #25083F
analogous
#3E3F08 #223F08 #083F09
triadic
#223F08 #08223F #3F0822
tetradic
#223F08 #083E3F #25083F #3F0908
square
#223F08 #083E3F #25083F #3F0908
split-complementary
#223F08 #09083F #3F083E
monochromatic
#0F1B03 #0F1B03 #223F08 #3F750F #5DAC16

Accessibility & contrast

On white

11.78
#223F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223F08
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F08#FFFFFF#000000##FFFFFF
##223F081.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223f08;
/* rgb */ color: rgb(34, 63, 8);
/* oklch */ color: oklch(33.2% 0.087 133.9);
Tailwind
colors: {
  custom: {
    50: '#60744c',
    500: '#223f08',
    950: '#000000',
  },
}
SCSS
$custom: #223f08;
$custom-light: #60744c;
$custom-dark: #000000;
JSON
{
  "hex": "#223f08",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 91.636,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33232,
    "c": 0.08684,
    "h": 133.9
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#223F08
secondary
#54257E
accent
#34F499
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #223F08

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

Preview Lab → · Contrast checker → · Palette generator →

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