#2C460B#2C460B

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

Color values

HEX#2C460B
RGBrgb(44, 70, 11)
HSLhsl(86, 73%, 16%)
HSVhsv(86, 84%, 27%)
CMYKcmyk(37.1%, 0%, 84.3%, 72.5%)
CIE-LABlab(26.56, -20.52, 30.19)
CIE-LCHlch(26.56, 36.51, 124.20°)
OKLaboklab(36% -0.0582 0.0672)
OKLCHoklch(36% 0.089 130.9)
XYZxyz(3.2892, 4.9398, 1.0967)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C460B #250B46
analogous
#46420B #2C460B #0E460B
triadic
#2C460B #0B2C46 #460B2C
tetradic
#2C460B #0B4642 #250B46 #460B0E
square
#2C460B #0B4642 #250B46 #460B0E
split-complementary
#2C460B #0B0E46 #420B46
monochromatic
#111A04 #111A04 #2C460B #4D7B13 #6EB01C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C460B#FFFFFF#000000##FFFFFF
##2C460B1.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)
#4A4002
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#2D433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c460b;
/* rgb */ color: rgb(44, 70, 11);
/* oklch */ color: oklch(36.0% 0.089 130.9);
Tailwind
colors: {
  custom: {
    50: '#68794f',
    500: '#2c460b',
    950: '#000000',
  },
}
SCSS
$custom: #2c460b;
$custom-light: #68794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c460b",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 86.441,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36001,
    "c": 0.08893,
    "h": 130.9
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#2C460B
secondary
#512A82
accent
#38F089
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C460B

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

Preview Lab → · Contrast checker → · Palette generator →

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