#1C2F02#1C2F02

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

Color values

HEX#1C2F02
RGBrgb(28, 47, 2)
HSLhsl(85, 92%, 10%)
HSVhsv(85, 96%, 18%)
CMYKcmyk(40.4%, 0%, 95.7%, 81.6%)
CIE-LABlab(16.91, -16.27, 23.17)
CIE-LCHlch(16.91, 28.31, 125.08°)
OKLaboklab(27.83% -0.0466 0.0552)
OKLCHoklch(27.83% 0.072 130.2)
XYZxyz(1.5064, 2.2842, 0.4190)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F02 #15022F
analogous
#2F2C02 #1C2F02 #062F02
triadic
#1C2F02 #021C2F #2F021C
tetradic
#1C2F02 #022F2C #15022F #2F0206
square
#1C2F02 #022F2C #15022F #2F0206
split-complementary
#1C2F02 #02062F #2C022F
monochromatic
#111D01 #111D01 #1C2F02 #3F6A04 #62A407

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C2F02#FFFFFF#000000##FFFFFF
##1C2F021.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)
#2F2906
Tritanopia (blue-blind)
#1D2C27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c2f02;
/* rgb */ color: rgb(28, 47, 2);
/* oklch */ color: oklch(27.8% 0.072 130.2);
Tailwind
colors: {
  custom: {
    50: '#5a6748',
    500: '#1c2f02',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f02;
$custom-light: #5a6748;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f02",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 85.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27828,
    "c": 0.07223,
    "h": 130.2
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#1C2F02
secondary
#3F1974
accent
#29FF83
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1C2F02

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

Preview Lab → · Contrast checker → · Palette generator →

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