#112804#112804

#112804 is a very dark, moderate yellow-green. Relative luminance 0.016; OKLCH L 24.9% C 0.066 H 136.1°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#112804
RGBrgb(17, 40, 4)
HSLhsl(98, 82%, 9%)
HSVhsv(98, 90%, 16%)
CMYKcmyk(57.5%, 0%, 90%, 84.3%)
CIE-LABlab(13.50, -17.18, 17.86)
CIE-LCHlch(13.50, 24.79, 133.89°)
OKLaboklab(24.86% -0.0478 0.046)
OKLCHoklch(24.86% 0.066 136.1)
XYZxyz(1.0118, 1.6455, 0.3791)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#112804 #1B0428
analogous
#232804 #112804 #042809
triadic
#112804 #041128 #280411
tetradic
#112804 #042328 #1B0428 #280904
square
#112804 #042328 #1B0428 #280904
split-complementary
#112804 #090428 #280423
monochromatic
#0C1C03 #0C1C03 #112804 #29600A #40970F

Accessibility & contrast

On white

15.80
#112804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#112804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #112804
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##112804#FFFFFF#000000##FFFFFF
##1128041.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2401
Deuteranopia (green-blind)
#272207
Tritanopia (blue-blind)
#102621
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #112804;
/* rgb */ color: rgb(17, 40, 4);
/* oklch */ color: oklch(24.9% 0.066 136.1);
Tailwind
colors: {
  custom: {
    50: '#516248',
    500: '#112804',
    950: '#000000',
  },
}
SCSS
$custom: #112804;
$custom-light: #516248;
$custom-dark: #000000;
JSON
{
  "hex": "#112804",
  "rgb": {
    "r": 17,
    "g": 40,
    "b": 4
  },
  "hsl": {
    "h": 98.333,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24862,
    "c": 0.0664,
    "h": 136.1
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#112804
secondary
#4F1D6B
accent
#30F8B0
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #112804

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

Preview Lab → · Contrast checker → · Palette generator →

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