#2C4010#2C4010

#2C4010 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.076 H 129.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#2C4010
RGBrgb(44, 64, 16)
HSLhsl(85, 60%, 16%)
HSVhsv(85, 75%, 25%)
CMYKcmyk(31.2%, 0%, 75%, 74.9%)
CIE-LABlab(24.45, -16.94, 25.83)
CIE-LCHlch(24.45, 30.89, 123.25°)
OKLaboklab(34.29% -0.048 0.0589)
OKLCHoklch(34.29% 0.076 129.2)
XYZxyz(2.9656, 4.2396, 1.1522)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4010 #241040
analogous
#403C10 #2C4010 #144010
triadic
#2C4010 #102C40 #40102C
tetradic
#2C4010 #10403C #241040 #401014
square
#2C4010 #10403C #241040 #401014
split-complementary
#2C4010 #101440 #3C1040
monochromatic
#111806 #111806 #2C4010 #4E711C #6FA228

Accessibility & contrast

On white

11.36
#2C4010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4010
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4010#FFFFFF#000000##FFFFFF
##2C40101.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0A
Deuteranopia (green-blind)
#413A14
Tritanopia (blue-blind)
#2D3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c4010;
/* rgb */ color: rgb(44, 64, 16);
/* oklch */ color: oklch(34.3% 0.076 129.2);
Tailwind
colors: {
  custom: {
    50: '#677551',
    500: '#2c4010',
    950: '#000000',
  },
}
SCSS
$custom: #2c4010;
$custom-light: #677551;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4010",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 85,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34294,
    "c": 0.07599,
    "h": 129.2
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#2C4010
secondary
#50327A
accent
#45E387
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C4010

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

Preview Lab → · Contrast checker → · Palette generator →

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