#1C2F08#1C2F08

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

Color values

HEX#1C2F08
RGBrgb(28, 47, 8)
HSLhsl(89, 71%, 11%)
HSVhsv(89, 83%, 18%)
CMYKcmyk(40.4%, 0%, 83%, 81.6%)
CIE-LABlab(16.98, -15.64, 20.80)
CIE-LCHlch(16.98, 26.03, 126.94°)
OKLaboklab(27.9% -0.044 0.0492)
OKLCHoklch(27.9% 0.066 131.8)
XYZxyz(1.5392, 2.2974, 0.5920)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F08 #1B082F
analogous
#2F2E08 #1C2F08 #082F08
triadic
#1C2F08 #081C2F #2F081C
tetradic
#1C2F08 #082F2E #1B082F #2F0808
square
#1C2F08 #082F2E #1B082F #2F0808
split-complementary
#1C2F08 #08082F #2E082F
monochromatic
#101A04 #101A04 #1C2F08 #3B6311 #5A981A

Accessibility & contrast

On white

14.39
#1C2F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2F08
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F08#FFFFFF#000000##FFFFFF
##1C2F081.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B04
Deuteranopia (green-blind)
#2F290B
Tritanopia (blue-blind)
#1D2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c2f08;
/* rgb */ color: rgb(28, 47, 8);
/* oklch */ color: oklch(27.9% 0.066 131.8);
Tailwind
colors: {
  custom: {
    50: '#5a674b',
    500: '#1c2f08',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f08;
$custom-light: #5a674b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f08",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 89.231,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.279,
    "c": 0.06603,
    "h": 131.8
  },
  "luminance": 0.02297
}

Semantic roles & 50–950 ramp

primary
#1C2F08
secondary
#48256E
accent
#3AEE92
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1C2F08

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

Preview Lab → · Contrast checker → · Palette generator →

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