#22300F#22300F

#22300F is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 28.8% C 0.057 H 128.7°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#22300F
RGBrgb(34, 48, 15)
HSLhsl(85, 52%, 12%)
HSVhsv(85, 69%, 19%)
CMYKcmyk(29.2%, 0%, 68.7%, 81.2%)
CIE-LABlab(17.87, -12.63, 18.83)
CIE-LCHlch(17.87, 22.67, 123.85°)
OKLaboklab(28.76% -0.0355 0.0443)
OKLCHoklch(28.76% 0.057 128.7)
XYZxyz(1.8029, 2.4884, 0.8372)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22300F #1D0F30
analogous
#302E0F #22300F #11300F
triadic
#22300F #0F2230 #300F22
tetradic
#22300F #0F302E #1D0F30 #300F11
square
#22300F #0F302E #1D0F30 #300F11
split-complementary
#22300F #0F1130 #2E0F30
monochromatic
#111707 #111707 #22300F #435F1E #648D2C

Accessibility & contrast

On white

14.02
#22300F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#22300F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22300F
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22300F#FFFFFF#000000##FFFFFF
##22300F1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C0C
Deuteranopia (green-blind)
#312B11
Tritanopia (blue-blind)
#232E29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #22300f;
/* rgb */ color: rgb(34, 48, 15);
/* oklch */ color: oklch(28.8% 0.057 128.7);
Tailwind
colors: {
  custom: {
    50: '#5e684e',
    500: '#22300f',
    950: '#000000',
  },
}
SCSS
$custom: #22300f;
$custom-light: #5e684e;
$custom-dark: #000000;
JSON
{
  "hex": "#22300f",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 85.455,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28762,
    "c": 0.05674,
    "h": 128.7
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#22300F
secondary
#49316A
accent
#4CDC89
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #22300F

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

Preview Lab → · Contrast checker → · Palette generator →

#22300F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva