#1C340F#1C340F

#1C340F is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.5% C 0.068 H 136.1°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1C340F
RGBrgb(28, 52, 15)
HSLhsl(99, 55%, 13%)
HSVhsv(99, 71%, 20%)
CMYKcmyk(46.2%, 0%, 71.2%, 79.6%)
CIE-LABlab(18.96, -17.58, 20.02)
CIE-LCHlch(18.96, 26.65, 131.29°)
OKLaboklab(29.54% -0.0487 0.0468)
OKLCHoklch(29.54% 0.068 136.1)
XYZxyz(1.7931, 2.7373, 0.8857)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C340F #270F34
analogous
#2E340F #1C340F #0F3414
triadic
#1C340F #0F1C34 #340F1C
tetradic
#1C340F #0F2E34 #270F34 #34140F
square
#1C340F #0F2E34 #270F34 #34140F
split-complementary
#1C340F #140F34 #340F2E
monochromatic
#0D1807 #0D1807 #1C340F #36631D #4F932A

Accessibility & contrast

On white

13.57
#1C340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1C340F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C340F
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C340F#FFFFFF#000000##FFFFFF
##1C340F1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0B
Deuteranopia (green-blind)
#332D12
Tritanopia (blue-blind)
#1B322C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1c340f;
/* rgb */ color: rgb(28, 52, 15);
/* oklch */ color: oklch(29.5% 0.068 136.1);
Tailwind
colors: {
  custom: {
    50: '#5a6b4f',
    500: '#1c340f',
    950: '#000000',
  },
}
SCSS
$custom: #1c340f;
$custom-light: #5a6b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c340f",
  "rgb": {
    "r": 28,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 98.919,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29542,
    "c": 0.06752,
    "h": 136.1
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#1C340F
secondary
#59316E
accent
#49DFAA
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #1C340F

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

Preview Lab → · Contrast checker → · Palette generator →

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