#223803#223803

#223803 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.081 H 130.3°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#223803
RGBrgb(34, 56, 3)
HSLhsl(85, 90%, 12%)
HSVhsv(85, 95%, 22%)
CMYKcmyk(39.3%, 0%, 94.6%, 78%)
CIE-LABlab(20.73, -18.24, 27.32)
CIE-LCHlch(20.73, 32.85, 123.72°)
OKLaboklab(31.05% -0.0521 0.0614)
OKLCHoklch(31.05% 0.081 130.3)
XYZxyz(2.0903, 3.1749, 0.5888)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223803 #190338
analogous
#383403 #223803 #073803
triadic
#223803 #032238 #380322
tetradic
#223803 #033834 #190338 #380307
square
#223803 #033834 #190338 #380307
split-complementary
#223803 #030738 #340338
monochromatic
#121D02 #121D02 #223803 #457206 #69AC09

Accessibility & contrast

On white

12.84
#223803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#223803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223803
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223803#FFFFFF#000000##FFFFFF
##2238031.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#383108
Tritanopia (blue-blind)
#23352E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #223803;
/* rgb */ color: rgb(34, 56, 3);
/* oklch */ color: oklch(31.1% 0.081 130.3);
Tailwind
colors: {
  custom: {
    50: '#606e49',
    500: '#223803',
    950: '#000000',
  },
}
SCSS
$custom: #223803;
$custom-light: #606e49;
$custom-dark: #000000;
JSON
{
  "hex": "#223803",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 3
  },
  "hsl": {
    "h": 84.906,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31054,
    "c": 0.08057,
    "h": 130.3
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#223803
secondary
#431C7B
accent
#29FF82
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223803

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

Preview Lab → · Contrast checker → · Palette generator →

#223803 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva