#1A320C#1A320C

#1A320C is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.7% C 0.068 H 135.9°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#1A320C
RGBrgb(26, 50, 12)
HSLhsl(98, 61%, 12%)
HSVhsv(98, 76%, 20%)
CMYKcmyk(48%, 0%, 76%, 80.4%)
CIE-LABlab(18.04, -17.72, 20.39)
CIE-LCHlch(18.04, 27.01, 130.99°)
OKLaboklab(28.75% -0.0491 0.0477)
OKLCHoklch(28.75% 0.068 135.9)
XYZxyz(1.6329, 2.5273, 0.7495)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A320C #240C32
analogous
#2D320C #1A320C #0C3211
triadic
#1A320C #0C1A32 #320C1A
tetradic
#1A320C #0C2D32 #240C32 #32110C
square
#1A320C #0C2D32 #240C32 #32110C
split-complementary
#1A320C #110C32 #320C2D
monochromatic
#0D1906 #0D1906 #1A320C #346318 #4D9524

Accessibility & contrast

On white

13.95
#1A320C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A320C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A320C
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A320C#FFFFFF#000000##FFFFFF
##1A320C1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D08
Deuteranopia (green-blind)
#312B0F
Tritanopia (blue-blind)
#19302A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a320c;
/* rgb */ color: rgb(26, 50, 12);
/* oklch */ color: oklch(28.7% 0.068 135.9);
Tailwind
colors: {
  custom: {
    50: '#596a4d',
    500: '#1a320c',
    950: '#000000',
  },
}
SCSS
$custom: #1a320c;
$custom-light: #596a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a320c",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 12
  },
  "hsl": {
    "h": 97.895,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28749,
    "c": 0.06848,
    "h": 135.9
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#1A320C
secondary
#562C6E
accent
#43E4A9
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #1A320C

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

Preview Lab → · Contrast checker → · Palette generator →

#1A320C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva