#2C460F#2C460F

#2C460F is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.0% C 0.086 H 131.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2C460F
RGBrgb(44, 70, 15)
HSLhsl(88, 65%, 17%)
HSVhsv(88, 79%, 27%)
CMYKcmyk(37.1%, 0%, 78.6%, 72.5%)
CIE-LABlab(26.59, -20.22, 28.53)
CIE-LCHlch(26.59, 34.97, 125.33°)
OKLaboklab(36.04% -0.0571 0.0644)
OKLCHoklch(36.04% 0.086 131.5)
XYZxyz(3.3151, 4.9502, 1.2327)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C460F #290F46
analogous
#46450F #2C460F #10460F
triadic
#2C460F #0F2C46 #460F2C
tetradic
#2C460F #0F4645 #290F46 #460F10
square
#2C460F #0F4645 #290F46 #460F10
split-complementary
#2C460F #0F1046 #450F46
monochromatic
#101905 #101905 #2C460F #4C781A #6BAB25

Accessibility & contrast

On white

10.55
#2C460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C460F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C460F#FFFFFF#000000##FFFFFF
##2C460F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494007
Deuteranopia (green-blind)
#463E14
Tritanopia (blue-blind)
#2D433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c460f;
/* rgb */ color: rgb(44, 70, 15);
/* oklch */ color: oklch(36.0% 0.086 131.5);
Tailwind
colors: {
  custom: {
    50: '#687951',
    500: '#2c460f',
    950: '#000000',
  },
}
SCSS
$custom: #2c460f;
$custom-light: #687951;
$custom-dark: #000000;
JSON
{
  "hex": "#2c460f",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 88.364,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36035,
    "c": 0.08607,
    "h": 131.5
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#2C460F
secondary
#563080
accent
#40E88F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C460F

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

Preview Lab → · Contrast checker → · Palette generator →

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