#2C3810#2C3810

#2C3810 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.063 H 124.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2C3810
RGBrgb(44, 56, 16)
HSLhsl(78, 56%, 14%)
HSVhsv(78, 71%, 22%)
CMYKcmyk(21.4%, 0%, 71.4%, 78%)
CIE-LABlab(21.58, -12.39, 22.74)
CIE-LCHlch(21.58, 25.90, 118.58°)
OKLaboklab(31.98% -0.0354 0.0524)
OKLCHoklch(31.98% 0.063 124.1)
XYZxyz(2.5464, 3.4012, 1.0125)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3810 #1C1038
analogous
#383010 #2C3810 #183810
triadic
#2C3810 #102C38 #38102C
tetradic
#2C3810 #103830 #1C1038 #381018
square
#2C3810 #103830 #1C1038 #381018
split-complementary
#2C3810 #101838 #301038
monochromatic
#131807 #131807 #2C3810 #51681E #77972B

Accessibility & contrast

On white

12.50
#2C3810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2C3810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3810
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3810#FFFFFF#000000##FFFFFF
##2C38101.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340B
Deuteranopia (green-blind)
#3A3413
Tritanopia (blue-blind)
#2E3530
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c3810;
/* rgb */ color: rgb(44, 56, 16);
/* oklch */ color: oklch(32.0% 0.063 124.1);
Tailwind
colors: {
  custom: {
    50: '#666e50',
    500: '#2c3810',
    950: '#000000',
  },
}
SCSS
$custom: #2c3810;
$custom-light: #666e50;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3810",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 16
  },
  "hsl": {
    "h": 78,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31975,
    "c": 0.06326,
    "h": 124.1
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#2C3810
secondary
#453272
accent
#49DF76
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2C3810

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

Preview Lab → · Contrast checker → · Palette generator →

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