#2C4B14#2C4B14

#2C4B14 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.090 H 134.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2C4B14
RGBrgb(44, 75, 20)
HSLhsl(94, 58%, 19%)
HSVhsv(94, 73%, 29%)
CMYKcmyk(41.3%, 0%, 73.3%, 70.6%)
CIE-LABlab(28.43, -22.33, 28.11)
CIE-LCHlch(28.43, 35.90, 128.47°)
OKLaboklab(37.55% -0.0624 0.0643)
OKLCHoklch(37.55% 0.09 134.1)
XYZxyz(3.6810, 5.6180, 1.5521)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B14 #33144B
analogous
#474B14 #2C4B14 #144B17
triadic
#2C4B14 #142C4B #4B142C
tetradic
#2C4B14 #14474B #33144B #4B1714
square
#2C4B14 #14474B #33144B #4B1714
split-complementary
#2C4B14 #17144B #4B1447
monochromatic
#0E1806 #101B07 #2C4B14 #487B21 #65AC2E

Accessibility & contrast

On white

9.89
#2C4B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C4B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B14
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B14#FFFFFF#000000##FFFFFF
##2C4B141.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450D
Deuteranopia (green-blind)
#4A4219
Tritanopia (blue-blind)
#2C4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c4b14;
/* rgb */ color: rgb(44, 75, 20);
/* oklch */ color: oklch(37.5% 0.090 134.1);
Tailwind
colors: {
  custom: {
    50: '#687d55',
    500: '#2c4b14',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b14;
$custom-light: #687d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b14",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 20
  },
  "hsl": {
    "h": 93.818,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37546,
    "c": 0.08959,
    "h": 134.1
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#2C4B14
secondary
#623883
accent
#47E19E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4B14

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

Preview Lab → · Contrast checker → · Palette generator →

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