#223107#223107

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

Color values

HEX#223107
RGBrgb(34, 49, 7)
HSLhsl(81, 75%, 11%)
HSVhsv(81, 86%, 19%)
CMYKcmyk(30.6%, 0%, 85.7%, 80.8%)
CIE-LABlab(18.15, -14.02, 22.73)
CIE-LCHlch(18.15, 26.71, 121.67°)
OKLaboklab(28.97% -0.0402 0.0528)
OKLCHoklch(28.97% 0.066 127.3)
XYZxyz(1.7964, 2.5520, 0.5989)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223107 #160731
analogous
#312B07 #223107 #0D3107
triadic
#223107 #072231 #310722
tetradic
#223107 #07312B #160731 #31070D
square
#223107 #07312B #160731 #31070D
split-complementary
#223107 #070D31 #2B0731
monochromatic
#131B04 #131B04 #223107 #47670F #6C9C16

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##223107#FFFFFF#000000##FFFFFF
##2231071.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)
#342D02
Deuteranopia (green-blind)
#322C0B
Tritanopia (blue-blind)
#242E29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #223107;
/* rgb */ color: rgb(34, 49, 7);
/* oklch */ color: oklch(29.0% 0.066 127.3);
Tailwind
colors: {
  custom: {
    50: '#5f694a',
    500: '#223107',
    950: '#000000',
  },
}
SCSS
$custom: #223107;
$custom-light: #5f694a;
$custom-dark: #000000;
JSON
{
  "hex": "#223107",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 7
  },
  "hsl": {
    "h": 81.429,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28966,
    "c": 0.06637,
    "h": 127.3
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#223107
secondary
#3F2371
accent
#36F279
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #223107

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

Preview Lab → · Contrast checker → · Palette generator →

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