#2C4107#2C4107

#2C4107 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.084 H 128.3°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2C4107
RGBrgb(44, 65, 7)
HSLhsl(82, 81%, 14%)
HSVhsv(82, 89%, 25%)
CMYKcmyk(32.3%, 0%, 89.2%, 74.5%)
CIE-LABlab(24.74, -18.15, 30.05)
CIE-LCHlch(24.74, 35.11, 121.13°)
OKLaboklab(34.51% -0.0522 0.0662)
OKLCHoklch(34.51% 0.084 128.3)
XYZxyz(2.9674, 4.3313, 0.8807)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4107 #1C0741
analogous
#413907 #2C4107 #0F4107
triadic
#2C4107 #072C41 #41072C
tetradic
#2C4107 #074139 #1C0741 #41070F
square
#2C4107 #074139 #1C0741 #41070F
split-complementary
#2C4107 #070F41 #390741
monochromatic
#131C03 #131C03 #2C4107 #51780D #77B013

Accessibility & contrast

On white

11.25
#2C4107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C4107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4107
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4107#FFFFFF#000000##FFFFFF
##2C41071.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#423A0D
Tritanopia (blue-blind)
#2E3E36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c4107;
/* rgb */ color: rgb(44, 65, 7);
/* oklch */ color: oklch(34.5% 0.084 128.3);
Tailwind
colors: {
  custom: {
    50: '#68754c',
    500: '#2c4107',
    950: '#000000',
  },
}
SCSS
$custom: #2c4107;
$custom-light: #68754c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4107",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 81.724,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34507,
    "c": 0.08428,
    "h": 128.3
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#2C4107
secondary
#452480
accent
#31F779
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C4107

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

Preview Lab → · Contrast checker → · Palette generator →

#2C4107 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva