#223108#223108

#223108 is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.0% C 0.065 H 127.5°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#223108
RGBrgb(34, 49, 8)
HSLhsl(82, 72%, 11%)
HSVhsv(82, 84%, 19%)
CMYKcmyk(30.6%, 0%, 83.7%, 80.8%)
CIE-LABlab(18.16, -13.93, 22.33)
CIE-LCHlch(18.16, 26.32, 121.95°)
OKLaboklab(28.98% -0.0398 0.0519)
OKLCHoklch(28.98% 0.065 127.5)
XYZxyz(1.8018, 2.5542, 0.6278)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223108 #170831
analogous
#312B08 #223108 #0D3108
triadic
#223108 #082231 #310822
tetradic
#223108 #08312B #170831 #31080D
square
#223108 #08312B #170831 #31080D
split-complementary
#223108 #080D31 #2B0831
monochromatic
#121A04 #121A04 #223108 #476611 #6B9A19

Accessibility & contrast

On white

13.90
#223108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223108
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223108#FFFFFF#000000##FFFFFF
##2231081.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D03
Deuteranopia (green-blind)
#322C0B
Tritanopia (blue-blind)
#242E29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #223108;
/* rgb */ color: rgb(34, 49, 8);
/* oklch */ color: oklch(29.0% 0.065 127.5);
Tailwind
colors: {
  custom: {
    50: '#5e694b',
    500: '#223108',
    950: '#000000',
  },
}
SCSS
$custom: #223108;
$custom-light: #5e694b;
$custom-dark: #000000;
JSON
{
  "hex": "#223108",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 8
  },
  "hsl": {
    "h": 81.951,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28977,
    "c": 0.06542,
    "h": 127.5
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#223108
secondary
#402570
accent
#39EF7C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #223108

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

Preview Lab → · Contrast checker → · Palette generator →

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