#2C3108#2C3108

#2C3108 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 29.9% C 0.060 H 116.2°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#2C3108
RGBrgb(44, 49, 8)
HSLhsl(67, 72%, 11%)
HSVhsv(67, 84%, 19%)
CMYKcmyk(10.2%, 0%, 83.7%, 80.8%)
CIE-LABlab(19.01, -8.83, 23.55)
CIE-LCHlch(19.01, 25.15, 110.56°)
OKLaboklab(29.88% -0.0265 0.054)
OKLCHoklch(29.88% 0.06 116.2)
XYZxyz(2.1809, 2.7497, 0.6455)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3108 #0D0831
analogous
#312108 #2C3108 #173108
triadic
#2C3108 #082C31 #31082C
tetradic
#2C3108 #083121 #0D0831 #310817
square
#2C3108 #083121 #0D0831 #310817
split-complementary
#2C3108 #081731 #210831
monochromatic
#181A04 #181A04 #2C3108 #5B6611 #8A9A19

Accessibility & contrast

On white

13.55
#2C3108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3108
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3108#FFFFFF#000000##FFFFFF
##2C31081.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E03
Deuteranopia (green-blind)
#352E0B
Tritanopia (blue-blind)
#2F2E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c3108;
/* rgb */ color: rgb(44, 49, 8);
/* oklch */ color: oklch(29.9% 0.060 116.2);
Tailwind
colors: {
  custom: {
    50: '#66694b',
    500: '#2c3108',
    950: '#000000',
  },
}
SCSS
$custom: #2c3108;
$custom-light: #66694b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3108",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 8
  },
  "hsl": {
    "h": 67.317,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2988,
    "c": 0.06012,
    "h": 116.2
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#2C3108
secondary
#2E2570
accent
#39EF4F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C3108

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

Preview Lab → · Contrast checker → · Palette generator →

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