#1C2F01#1C2F01

#1C2F01 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.8% C 0.073 H 129.9°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#1C2F01
RGBrgb(28, 47, 1)
HSLhsl(85, 96%, 9%)
HSVhsv(85, 98%, 18%)
CMYKcmyk(40.4%, 0%, 97.9%, 81.6%)
CIE-LABlab(16.90, -16.38, 23.56)
CIE-LCHlch(16.90, 28.70, 124.81°)
OKLaboklab(27.82% -0.047 0.0563)
OKLCHoklch(27.82% 0.073 129.9)
XYZxyz(1.5009, 2.2820, 0.3901)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F01 #14012F
analogous
#2F2B01 #1C2F01 #052F01
triadic
#1C2F01 #011C2F #2F011C
tetradic
#1C2F01 #012F2B #14012F #2F0105
square
#1C2F01 #012F2B #14012F #2F0105
split-complementary
#1C2F01 #01052F #2B012F
monochromatic
#121E01 #121E01 #1C2F01 #406B02 #63A704

Accessibility & contrast

On white

14.42
#1C2F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2F01
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F01#FFFFFF#000000##FFFFFF
##1C2F011.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2f01;
/* rgb */ color: rgb(28, 47, 1);
/* oklch */ color: oklch(27.8% 0.073 129.9);
Tailwind
colors: {
  custom: {
    50: '#5a6747',
    500: '#1c2f01',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f01;
$custom-light: #5a6747;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f01",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 1
  },
  "hsl": {
    "h": 84.783,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27816,
    "c": 0.07332,
    "h": 129.9
  },
  "luminance": 0.02282
}

Semantic roles & 50–950 ramp

primary
#1C2F01
secondary
#3E1775
accent
#29FF81
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1C2F01

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

Preview Lab → · Contrast checker → · Palette generator →

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