#223102#223102

#223102 is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.9% C 0.071 H 126.3°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#223102
RGBrgb(34, 49, 2)
HSLhsl(79, 92%, 10%)
HSVhsv(79, 96%, 19%)
CMYKcmyk(30.6%, 0%, 95.9%, 80.8%)
CIE-LABlab(18.10, -14.49, 24.71)
CIE-LCHlch(18.10, 28.65, 120.39°)
OKLaboklab(28.91% -0.0422 0.0575)
OKLCHoklch(28.91% 0.071 126.3)
XYZxyz(1.7690, 2.5411, 0.4547)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223102 #110231
analogous
#312902 #223102 #0A3102
triadic
#223102 #022231 #310222
tetradic
#223102 #023129 #110231 #31020A
square
#223102 #023129 #110231 #31020A
split-complementary
#223102 #020A31 #290231
monochromatic
#141D01 #141D01 #223102 #4B6C04 #74A707

Accessibility & contrast

On white

13.92
#223102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#223102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223102
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223102#FFFFFF#000000##FFFFFF
##2231021.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#322C06
Tritanopia (blue-blind)
#242E28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #223102;
/* rgb */ color: rgb(34, 49, 2);
/* oklch */ color: oklch(28.9% 0.071 126.3);
Tailwind
colors: {
  custom: {
    50: '#5f6948',
    500: '#223102',
    950: '#000000',
  },
}
SCSS
$custom: #223102;
$custom-light: #5f6948;
$custom-dark: #000000;
JSON
{
  "hex": "#223102",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 79.149,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.28911,
    "c": 0.07134,
    "h": 126.3
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#223102
secondary
#371975
accent
#29FF6D
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #223102

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

Preview Lab → · Contrast checker → · Palette generator →

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