#2C460C#2C460C

#2C460C is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.088 H 131.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2C460C
RGBrgb(44, 70, 12)
HSLhsl(87, 71%, 16%)
HSVhsv(87, 83%, 27%)
CMYKcmyk(37.1%, 0%, 82.9%, 72.5%)
CIE-LABlab(26.57, -20.45, 29.80)
CIE-LCHlch(26.57, 36.14, 124.47°)
OKLaboklab(36.01% -0.058 0.0666)
OKLCHoklch(36.01% 0.088 131.1)
XYZxyz(3.2952, 4.9422, 1.1281)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C460C #260C46
analogous
#46430C #2C460C #0F460C
triadic
#2C460C #0C2C46 #460C2C
tetradic
#2C460C #0C4643 #260C46 #460C0F
square
#2C460C #0C4643 #260C46 #460C0F
split-complementary
#2C460C #0C0F46 #430C46
monochromatic
#101A04 #101A04 #2C460C #4D7A15 #6EAE1E

Accessibility & contrast

On white

10.56
#2C460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C460C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C460C#FFFFFF#000000##FFFFFF
##2C460C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4003
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#2D433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c460c;
/* rgb */ color: rgb(44, 70, 12);
/* oklch */ color: oklch(36.0% 0.088 131.1);
Tailwind
colors: {
  custom: {
    50: '#687950',
    500: '#2c460c',
    950: '#000000',
  },
}
SCSS
$custom: #2c460c;
$custom-light: #687950;
$custom-dark: #000000;
JSON
{
  "hex": "#2c460c",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 86.897,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36009,
    "c": 0.08826,
    "h": 131.1
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

primary
#2C460C
secondary
#522C82
accent
#3AED8B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C460C

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

Preview Lab → · Contrast checker → · Palette generator →

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