#1C2F04#1C2F04

#1C2F04 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.9% C 0.070 H 130.7°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#1C2F04
RGBrgb(28, 47, 4)
HSLhsl(87, 84%, 10%)
HSVhsv(87, 91%, 18%)
CMYKcmyk(40.4%, 0%, 91.5%, 81.6%)
CIE-LABlab(16.93, -16.06, 22.38)
CIE-LCHlch(16.93, 27.55, 125.67°)
OKLaboklab(27.85% -0.0457 0.0531)
OKLCHoklch(27.85% 0.07 130.7)
XYZxyz(1.5173, 2.2886, 0.4766)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F04 #17042F
analogous
#2F2D04 #1C2F04 #062F04
triadic
#1C2F04 #041C2F #2F041C
tetradic
#1C2F04 #042F2D #17042F #2F0406
square
#1C2F04 #042F2D #17042F #2F0406
split-complementary
#1C2F04 #04062F #2D042F
monochromatic
#111C02 #111C02 #1C2F04 #3E6709 #5FA00E

Accessibility & contrast

On white

14.41
#1C2F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1C2F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F04
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F04#FFFFFF#000000##FFFFFF
##1C2F041.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#1D2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c2f04;
/* rgb */ color: rgb(28, 47, 4);
/* oklch */ color: oklch(27.9% 0.070 130.7);
Tailwind
colors: {
  custom: {
    50: '#5a6749',
    500: '#1c2f04',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f04;
$custom-light: #5a6749;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f04",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 86.512,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27852,
    "c": 0.07009,
    "h": 130.7
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#1C2F04
secondary
#431D72
accent
#2DFB88
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040601
muted
#797A77

Preview Lab

Preview with #1C2F04

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

Preview Lab → · Contrast checker → · Palette generator →

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