#2C3105#2C3105

#2C3105 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.063 H 116.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#2C3105
RGBrgb(44, 49, 5)
HSLhsl(67, 81%, 11%)
HSVhsv(67, 90%, 19%)
CMYKcmyk(10.2%, 0%, 89.8%, 80.8%)
CIE-LABlab(18.98, -9.07, 24.74)
CIE-LCHlch(18.98, 26.35, 110.14°)
OKLaboklab(29.85% -0.0276 0.0566)
OKLCHoklch(29.85% 0.063 116)
XYZxyz(2.1645, 2.7431, 0.5590)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3105 #0A0531
analogous
#312005 #2C3105 #163105
triadic
#2C3105 #052C31 #31052C
tetradic
#2C3105 #053120 #0A0531 #310516
square
#2C3105 #053120 #0A0531 #310516
split-complementary
#2C3105 #051631 #200531
monochromatic
#191C03 #191C03 #2C3105 #5E690B #90A010

Accessibility & contrast

On white

13.56
#2C3105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2C3105 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3105
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3105#FFFFFF#000000##FFFFFF
##2C31051.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#352E08
Tritanopia (blue-blind)
#302E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c3105;
/* rgb */ color: rgb(44, 49, 5);
/* oklch */ color: oklch(29.8% 0.063 116.0);
Tailwind
colors: {
  custom: {
    50: '#676949',
    500: '#2c3105',
    950: '#000000',
  },
}
SCSS
$custom: #2c3105;
$custom-light: #676949;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3105",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 5
  },
  "hsl": {
    "h": 66.818,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29849,
    "c": 0.06297,
    "h": 116
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#2C3105
secondary
#291F72
accent
#30F847
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C3105

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

Preview Lab → · Contrast checker → · Palette generator →

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