#2C330C#2C330C

#2C330C is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.5% C 0.059 H 118.8°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#2C330C
RGBrgb(44, 51, 12)
HSLhsl(71, 62%, 12%)
HSVhsv(71, 76%, 20%)
CMYKcmyk(13.7%, 0%, 76.5%, 80%)
CIE-LABlab(19.76, -9.75, 22.73)
CIE-LCHlch(19.76, 24.73, 113.22°)
OKLaboklab(30.49% -0.0286 0.0521)
OKLCHoklch(30.49% 0.059 118.8)
XYZxyz(2.2889, 2.9297, 0.7927)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C330C #130C33
analogous
#33270C #2C330C #19330C
triadic
#2C330C #0C2C33 #330C2C
tetradic
#2C330C #0C3327 #130C33 #330C19
square
#2C330C #0C3327 #130C33 #330C19
split-complementary
#2C330C #0C1933 #270C33
monochromatic
#151906 #151906 #2C330C #576518 #819623

Accessibility & contrast

On white

13.24
#2C330C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2C330C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C330C
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C330C#FFFFFF#000000##FFFFFF
##2C330C1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373007
Deuteranopia (green-blind)
#36300F
Tritanopia (blue-blind)
#2F302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c330c;
/* rgb */ color: rgb(44, 51, 12);
/* oklch */ color: oklch(30.5% 0.059 118.8);
Tailwind
colors: {
  custom: {
    50: '#666a4d',
    500: '#2c330c',
    950: '#000000',
  },
}
SCSS
$custom: #2c330c;
$custom-light: #666a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c330c",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 12
  },
  "hsl": {
    "h": 70.769,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30493,
    "c": 0.05939,
    "h": 118.8
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#2C330C
secondary
#382C6F
accent
#43E560
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C330C

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

Preview Lab → · Contrast checker → · Palette generator →

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