#2C4014#2C4014

#2C4014 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.072 H 130.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2C4014
RGBrgb(44, 64, 20)
HSLhsl(87, 52%, 16%)
HSVhsv(87, 69%, 25%)
CMYKcmyk(31.2%, 0%, 68.8%, 74.9%)
CIE-LABlab(24.49, -16.54, 23.81)
CIE-LCHlch(24.49, 28.99, 124.78°)
OKLaboklab(34.34% -0.0465 0.0553)
OKLCHoklch(34.34% 0.072 130.1)
XYZxyz(2.9983, 4.2527, 1.3246)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4014 #281440
analogous
#403E14 #2C4014 #164014
triadic
#2C4014 #142C40 #40142C
tetradic
#2C4014 #14403E #281440 #401416
square
#2C4014 #14403E #281440 #401416
split-complementary
#2C4014 #141640 #3E1440
monochromatic
#101707 #101707 #2C4014 #4C6F23 #6C9D31

Accessibility & contrast

On white

11.35
#2C4014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C4014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4014
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4014#FFFFFF#000000##FFFFFF
##2C40141.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0F
Deuteranopia (green-blind)
#403A17
Tritanopia (blue-blind)
#2D3D37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c4014;
/* rgb */ color: rgb(44, 64, 20);
/* oklch */ color: oklch(34.3% 0.072 130.1);
Tailwind
colors: {
  custom: {
    50: '#677553',
    500: '#2c4014',
    950: '#000000',
  },
}
SCSS
$custom: #2c4014;
$custom-light: #677553;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4014",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 20
  },
  "hsl": {
    "h": 87.273,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34341,
    "c": 0.07221,
    "h": 130.1
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

primary
#2C4014
secondary
#553878
accent
#4CDC8D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C4014

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

Preview Lab → · Contrast checker → · Palette generator →

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