#1C2F07#1C2F07

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

Color values

HEX#1C2F07
RGBrgb(28, 47, 7)
HSLhsl(89, 74%, 11%)
HSVhsv(89, 85%, 18%)
CMYKcmyk(40.4%, 0%, 85.1%, 81.6%)
CIE-LABlab(16.97, -15.75, 21.20)
CIE-LCHlch(16.97, 26.40, 126.61°)
OKLaboklab(27.89% -0.0445 0.0502)
OKLCHoklch(27.89% 0.067 131.6)
XYZxyz(1.5337, 2.2952, 0.5632)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F07 #1A072F
analogous
#2F2E07 #1C2F07 #082F07
triadic
#1C2F07 #071C2F #2F071C
tetradic
#1C2F07 #072F2E #1A072F #2F0708
square
#1C2F07 #072F2E #1A072F #2F0708
split-complementary
#1C2F07 #07082F #2E072F
monochromatic
#101B04 #101B04 #1C2F07 #3C640F #5B9A17

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C2F07#FFFFFF#000000##FFFFFF
##1C2F071.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)
#312B03
Deuteranopia (green-blind)
#2F290A
Tritanopia (blue-blind)
#1D2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c2f07;
/* rgb */ color: rgb(28, 47, 7);
/* oklch */ color: oklch(27.9% 0.067 131.6);
Tailwind
colors: {
  custom: {
    50: '#5a674a',
    500: '#1c2f07',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f07;
$custom-light: #5a674a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f07",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 88.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27888,
    "c": 0.06701,
    "h": 131.6
  },
  "luminance": 0.02295
}

Semantic roles & 50–950 ramp

primary
#1C2F07
secondary
#47236F
accent
#37F18F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1C2F07

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

Preview Lab → · Contrast checker → · Palette generator →

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