#2C4214#2C4214

#2C4214 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.9% C 0.075 H 131.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2C4214
RGBrgb(44, 66, 20)
HSLhsl(89, 53%, 17%)
HSVhsv(89, 70%, 26%)
CMYKcmyk(33.3%, 0%, 69.7%, 74.1%)
CIE-LABlab(25.21, -17.63, 24.61)
CIE-LCHlch(25.21, 30.27, 125.62°)
OKLaboklab(34.92% -0.0495 0.0569)
OKLCHoklch(34.92% 0.075 131)
XYZxyz(3.1132, 4.4823, 1.3628)
Luminance0.0448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4214 #2A1442
analogous
#424114 #2C4214 #154214
triadic
#2C4214 #142C42 #42142C
tetradic
#2C4214 #144241 #2A1442 #421415
square
#2C4214 #144241 #2A1442 #421415
split-complementary
#2C4214 #141542 #411442
monochromatic
#101707 #101707 #2C4214 #4B7122 #6BA030

Accessibility & contrast

On white

11.07
#2C4214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2C4214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4214
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4214#FFFFFF#000000##FFFFFF
##2C42141.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0F
Deuteranopia (green-blind)
#423B17
Tritanopia (blue-blind)
#2D3F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c4214;
/* rgb */ color: rgb(44, 66, 20);
/* oklch */ color: oklch(34.9% 0.075 131.0);
Tailwind
colors: {
  custom: {
    50: '#677654',
    500: '#2c4214',
    950: '#000000',
  },
}
SCSS
$custom: #2c4214;
$custom-light: #677654;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4214",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 20
  },
  "hsl": {
    "h": 88.696,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34922,
    "c": 0.07545,
    "h": 131
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#2C4214
secondary
#57387A
accent
#4BDD91
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C4214

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

Preview Lab → · Contrast checker → · Palette generator →

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