#223902#223902

#223902 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.3% C 0.083 H 130.6°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#223902
RGBrgb(34, 57, 2)
HSLhsl(85, 93%, 12%)
HSVhsv(85, 96%, 22%)
CMYKcmyk(40.4%, 0%, 96.5%, 77.6%)
CIE-LABlab(21.10, -18.85, 28.13)
CIE-LCHlch(21.10, 33.86, 123.82°)
OKLaboklab(31.35% -0.0539 0.0629)
OKLCHoklch(31.35% 0.083 130.6)
XYZxyz(2.1338, 3.2706, 0.5763)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223902 #190239
analogous
#393502 #223902 #073902
triadic
#223902 #022239 #390222
tetradic
#223902 #023935 #190239 #390207
square
#223902 #023935 #190239 #390207
split-complementary
#223902 #020739 #350239
monochromatic
#121E01 #121E01 #223902 #457404 #69AF06

Accessibility & contrast

On white

12.69
#223902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#223902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223902
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223902#FFFFFF#000000##FFFFFF
##2239021.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#393207
Tritanopia (blue-blind)
#23362F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #223902;
/* rgb */ color: rgb(34, 57, 2);
/* oklch */ color: oklch(31.3% 0.083 130.6);
Tailwind
colors: {
  custom: {
    50: '#606f49',
    500: '#223902',
    950: '#000000',
  },
}
SCSS
$custom: #223902;
$custom-light: #606f49;
$custom-dark: #000000;
JSON
{
  "hex": "#223902",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 85.091,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31349,
    "c": 0.08286,
    "h": 130.6
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#223902
secondary
#431A7D
accent
#29FF82
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223902

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

Preview Lab → · Contrast checker → · Palette generator →

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