#2C4515#2C4515

#2C4515 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.079 H 132.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2C4515
RGBrgb(44, 69, 21)
HSLhsl(91, 53%, 18%)
HSVhsv(91, 70%, 27%)
CMYKcmyk(36.2%, 0%, 69.6%, 72.9%)
CIE-LABlab(26.29, -19.14, 25.28)
CIE-LCHlch(26.29, 31.71, 127.12°)
OKLaboklab(35.81% -0.0535 0.0585)
OKLCHoklch(35.81% 0.079 132.5)
XYZxyz(3.3021, 4.8457, 1.4707)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4515 #2E1545
analogous
#444515 #2C4515 #154516
triadic
#2C4515 #152C45 #45152C
tetradic
#2C4515 #154445 #2E1545 #451615
square
#2C4515 #154445 #2E1545 #451615
split-complementary
#2C4515 #161545 #451544
monochromatic
#0F1707 #0F1707 #2C4515 #4A7423 #68A332

Accessibility & contrast

On white

10.66
#2C4515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2C4515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4515
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4515#FFFFFF#000000##FFFFFF
##2C45151.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0F
Deuteranopia (green-blind)
#453E19
Tritanopia (blue-blind)
#2D423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c4515;
/* rgb */ color: rgb(44, 69, 21);
/* oklch */ color: oklch(35.8% 0.079 132.5);
Tailwind
colors: {
  custom: {
    50: '#677955',
    500: '#2c4515',
    950: '#000000',
  },
}
SCSS
$custom: #2c4515;
$custom-light: #677955;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4515",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 21
  },
  "hsl": {
    "h": 91.25,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35807,
    "c": 0.0793,
    "h": 132.5
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#2C4515
secondary
#5C397D
accent
#4BDD97
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4515

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

Preview Lab → · Contrast checker → · Palette generator →

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