#2C420E#2C420E

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

Color values

HEX#2C420E
RGBrgb(44, 66, 14)
HSLhsl(85, 65%, 16%)
HSVhsv(85, 79%, 26%)
CMYKcmyk(33.3%, 0%, 78.8%, 74.1%)
CIE-LABlab(25.15, -18.19, 27.51)
CIE-LCHlch(25.15, 32.98, 123.48°)
OKLaboklab(34.86% -0.0516 0.0621)
OKLCHoklch(34.86% 0.081 129.7)
XYZxyz(3.0662, 4.4635, 1.1154)
Luminance0.0446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C420E #240E42
analogous
#423E0E #2C420E #12420E
triadic
#2C420E #0E2C42 #420E2C
tetradic
#2C420E #0E423E #240E42 #420E12
square
#2C420E #0E423E #240E42 #420E12
split-complementary
#2C420E #0E1242 #3E0E42
monochromatic
#111905 #111905 #2C420E #4E7419 #6FA723

Accessibility & contrast

On white

11.09
#2C420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C420E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C420E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C420E#FFFFFF#000000##FFFFFF
##2C420E1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c420e;
/* rgb */ color: rgb(44, 66, 14);
/* oklch */ color: oklch(34.9% 0.081 129.7);
Tailwind
colors: {
  custom: {
    50: '#677650',
    500: '#2c420e',
    950: '#000000',
  },
}
SCSS
$custom: #2c420e;
$custom-light: #677650;
$custom-dark: #000000;
JSON
{
  "hex": "#2c420e",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 85.385,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34857,
    "c": 0.08078,
    "h": 129.7
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#2C420E
secondary
#502F7D
accent
#40E887
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C420E

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

Preview Lab → · Contrast checker → · Palette generator →

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