#19310B#19310B

#19310B is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.4% C 0.068 H 135.9°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#19310B
RGBrgb(25, 49, 11)
HSLhsl(98, 63%, 12%)
HSVhsv(98, 78%, 19%)
CMYKcmyk(49%, 0%, 77.6%, 80.8%)
CIE-LABlab(17.59, -17.72, 20.27)
CIE-LCHlch(17.59, 26.92, 131.16°)
OKLaboklab(28.36% -0.0492 0.0476)
OKLCHoklch(28.36% 0.068 135.9)
XYZxyz(1.5596, 2.4274, 0.7029)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19310B #230B31
analogous
#2C310B #19310B #0B3110
triadic
#19310B #0B1931 #310B19
tetradic
#19310B #0B2C31 #230B31 #31100B
square
#19310B #0B2C31 #230B31 #31100B
split-complementary
#19310B #100B31 #310B2C
monochromatic
#0D1906 #0D1906 #19310B #336316 #4C9521

Accessibility & contrast

On white

14.14
#19310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#19310B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19310B
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19310B#FFFFFF#000000##FFFFFF
##19310B1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C07
Deuteranopia (green-blind)
#302A0E
Tritanopia (blue-blind)
#182F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #19310b;
/* rgb */ color: rgb(25, 49, 11);
/* oklch */ color: oklch(28.4% 0.068 135.9);
Tailwind
colors: {
  custom: {
    50: '#58694c',
    500: '#19310b',
    950: '#000000',
  },
}
SCSS
$custom: #19310b;
$custom-light: #58694c;
$custom-dark: #000000;
JSON
{
  "hex": "#19310b",
  "rgb": {
    "r": 25,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 97.895,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28357,
    "c": 0.06844,
    "h": 135.9
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#19310B
secondary
#552A6E
accent
#41E6AA
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #19310B

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

Preview Lab → · Contrast checker → · Palette generator →

#19310B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva