#2C4315#2C4315

#2C4315 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.2% C 0.076 H 131.7°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2C4315
RGBrgb(44, 67, 21)
HSLhsl(90, 52%, 17%)
HSVhsv(90, 69%, 26%)
CMYKcmyk(34.3%, 0%, 68.7%, 73.7%)
CIE-LABlab(25.57, -18.07, 24.49)
CIE-LCHlch(25.57, 30.43, 126.42°)
OKLaboklab(35.23% -0.0506 0.0568)
OKLCHoklch(35.23% 0.076 131.7)
XYZxyz(3.1812, 4.6038, 1.4303)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4315 #2C1543
analogous
#434315 #2C4315 #154315
triadic
#2C4315 #152C43 #43152C
tetradic
#2C4315 #154343 #2C1543 #431515
square
#2C4315 #154343 #2C1543 #431515
split-complementary
#2C4315 #151543 #431543
monochromatic
#0F1707 #0F1707 #2C4315 #4B7224 #69A032

Accessibility & contrast

On white

10.93
#2C4315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C4315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4315
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4315#FFFFFF#000000##FFFFFF
##2C43151.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E10
Deuteranopia (green-blind)
#433C18
Tritanopia (blue-blind)
#2D4039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c4315;
/* rgb */ color: rgb(44, 67, 21);
/* oklch */ color: oklch(35.2% 0.076 131.7);
Tailwind
colors: {
  custom: {
    50: '#677754',
    500: '#2c4315',
    950: '#000000',
  },
}
SCSS
$custom: #2c4315;
$custom-light: #677754;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4315",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 21
  },
  "hsl": {
    "h": 90,
    "s": 52.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35225,
    "c": 0.07608,
    "h": 131.7
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#2C4315
secondary
#5A397B
accent
#4CDC94
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2C4315

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

Preview Lab → · Contrast checker → · Palette generator →

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