#2C400A#2C400A

#2C400A is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.081 H 128.2°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2C400A
RGBrgb(44, 64, 10)
HSLhsl(82, 73%, 15%)
HSVhsv(82, 84%, 25%)
CMYKcmyk(31.2%, 0%, 84.4%, 74.9%)
CIE-LABlab(24.40, -17.41, 28.50)
CIE-LCHlch(24.40, 33.40, 121.42°)
OKLaboklab(34.24% -0.0499 0.0635)
OKLCHoklch(34.24% 0.081 128.2)
XYZxyz(2.9269, 4.2241, 0.9482)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C400A #1E0A40
analogous
#40390A #2C400A #11400A
triadic
#2C400A #0A2C40 #400A2C
tetradic
#2C400A #0A4039 #1E0A40 #400A11
square
#2C400A #0A4039 #1E0A40 #400A11
split-complementary
#2C400A #0A1140 #390A40
monochromatic
#121A04 #121A04 #2C400A #507512 #75AA1B

Accessibility & contrast

On white

11.38
#2C400A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C400A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C400A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C400A#FFFFFF#000000##FFFFFF
##2C400A1.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B02
Deuteranopia (green-blind)
#413A0F
Tritanopia (blue-blind)
#2E3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c400a;
/* rgb */ color: rgb(44, 64, 10);
/* oklch */ color: oklch(34.2% 0.081 128.2);
Tailwind
colors: {
  custom: {
    50: '#67754e',
    500: '#2c400a',
    950: '#000000',
  },
}
SCSS
$custom: #2c400a;
$custom-light: #67754e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c400a",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 82.222,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34238,
    "c": 0.08074,
    "h": 128.2
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

primary
#2C400A
secondary
#48297D
accent
#38F07C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C400A

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

Preview Lab → · Contrast checker → · Palette generator →

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