#1C2D02#1C2D02

#1C2D02 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.2% C 0.069 H 129.0°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#1C2D02
RGBrgb(28, 45, 2)
HSLhsl(84, 91%, 9%)
HSVhsv(84, 96%, 18%)
CMYKcmyk(37.8%, 0%, 95.6%, 82.4%)
CIE-LABlab(16.15, -15.17, 22.22)
CIE-LCHlch(16.15, 26.90, 124.33°)
OKLaboklab(27.2% -0.0436 0.0538)
OKLCHoklch(27.2% 0.069 129)
XYZxyz(1.4282, 2.1280, 0.3929)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D02 #13022D
analogous
#2D2902 #1C2D02 #072D02
triadic
#1C2D02 #021C2D #2D021C
tetradic
#1C2D02 #022D29 #13022D #2D0207
square
#1C2D02 #022D29 #13022D #2D0207
split-complementary
#1C2D02 #02072D #29022D
monochromatic
#121D01 #121D01 #1C2D02 #406805 #65A207

Accessibility & contrast

On white

14.73
#1C2D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1C2D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D02
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D02#FFFFFF#000000##FFFFFF
##1C2D021.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2D2805
Tritanopia (blue-blind)
#1D2A25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1c2d02;
/* rgb */ color: rgb(28, 45, 2);
/* oklch */ color: oklch(27.2% 0.069 129.0);
Tailwind
colors: {
  custom: {
    50: '#596648',
    500: '#1c2d02',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d02;
$custom-light: #596648;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d02",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 83.721,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27202,
    "c": 0.06925,
    "h": 129
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#1C2D02
secondary
#3C1972
accent
#29FF7D
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #1C2D02

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

Preview Lab → · Contrast checker → · Palette generator →

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