#1C3902#1C3902

#1C3902 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.0% C 0.087 H 134.1°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#1C3902
RGBrgb(28, 57, 2)
HSLhsl(92, 93%, 12%)
HSVhsv(92, 96%, 22%)
CMYKcmyk(50.9%, 0%, 96.5%, 77.6%)
CIE-LABlab(20.74, -21.42, 27.64)
CIE-LCHlch(20.74, 34.97, 127.77°)
OKLaboklab(30.96% -0.0603 0.0622)
OKLCHoklch(30.96% 0.087 134.1)
XYZxyz(1.9529, 3.1774, 0.5678)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3902 #1F0239
analogous
#383902 #1C3902 #023903
triadic
#1C3902 #021C39 #39021C
tetradic
#1C3902 #023839 #1F0239 #390302
square
#1C3902 #023839 #1F0239 #390302
split-complementary
#1C3902 #030239 #390238
monochromatic
#0F1E01 #0F1E01 #1C3902 #397404 #56AF06

Accessibility & contrast

On white

12.84
#1C3902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1C3902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3902
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3902#FFFFFF#000000##FFFFFF
##1C39021.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3300
Deuteranopia (green-blind)
#383107
Tritanopia (blue-blind)
#1C362F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c3902;
/* rgb */ color: rgb(28, 57, 2);
/* oklch */ color: oklch(31.0% 0.087 134.1);
Tailwind
colors: {
  custom: {
    50: '#5c6f48',
    500: '#1c3902',
    950: '#000000',
  },
}
SCSS
$custom: #1c3902;
$custom-light: #5c6f48;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3902",
  "rgb": {
    "r": 28,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 91.636,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30962,
    "c": 0.08663,
    "h": 134.1
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#1C3902
secondary
#4E1A7D
accent
#29FF9A
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #1C3902

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

Preview Lab → · Contrast checker → · Palette generator →

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