#22480C#22480C

#22480C is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.0% C 0.097 H 136.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#22480C
RGBrgb(34, 72, 12)
HSLhsl(98, 71%, 16%)
HSVhsv(98, 83%, 28%)
CMYKcmyk(52.8%, 0%, 83.3%, 71.8%)
CIE-LABlab(26.74, -25.45, 29.77)
CIE-LCHlch(26.74, 39.16, 130.52°)
OKLaboklab(36% -0.0707 0.0667)
OKLCHoklch(36% 0.097 136.7)
XYZxyz(3.0433, 5.0012, 1.1527)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22480C #320C48
analogous
#40480C #22480C #0C4814
triadic
#22480C #0C2248 #480C22
tetradic
#22480C #0C4048 #320C48 #48140C
square
#22480C #0C4048 #320C48 #48140C
split-complementary
#22480C #140C48 #480C40
monochromatic
#0C1A04 #0C1A04 #22480C #3B7C15 #54B11D

Accessibility & contrast

On white

10.50
#22480C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#22480C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22480C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22480C#FFFFFF#000000##FFFFFF
##22480C1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4102
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#20453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22480c;
/* rgb */ color: rgb(34, 72, 12);
/* oklch */ color: oklch(36.0% 0.097 136.7);
Tailwind
colors: {
  custom: {
    50: '#627b50',
    500: '#22480c',
    950: '#000000',
  },
}
SCSS
$custom: #22480c;
$custom-light: #627b50;
$custom-dark: #000000;
JSON
{
  "hex": "#22480c",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 12
  },
  "hsl": {
    "h": 98,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35996,
    "c": 0.0972,
    "h": 136.7
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#22480C
secondary
#642C84
accent
#3AEEAC
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #22480C

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

Preview Lab → · Contrast checker → · Palette generator →

#22480C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva