#2C330B#2C330B

#2C330B is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.5% C 0.060 H 118.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#2C330B
RGBrgb(44, 51, 11)
HSLhsl(71, 65%, 12%)
HSVhsv(71, 78%, 20%)
CMYKcmyk(13.7%, 0%, 78.4%, 80%)
CIE-LABlab(19.75, -9.83, 23.16)
CIE-LCHlch(19.75, 25.16, 113.00°)
OKLaboklab(30.48% -0.0289 0.0529)
OKLCHoklch(30.48% 0.06 118.7)
XYZxyz(2.2830, 2.9273, 0.7613)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C330B #120B33
analogous
#33260B #2C330B #18330B
triadic
#2C330B #0B2C33 #330B2C
tetradic
#2C330B #0B3326 #120B33 #330B18
square
#2C330B #0B3326 #120B33 #330B18
split-complementary
#2C330B #0B1833 #260B33
monochromatic
#161905 #161905 #2C330B #576516 #839821

Accessibility & contrast

On white

13.25
#2C330B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C330B
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C330B#FFFFFF#000000##FFFFFF
##2C330B1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c330b;
/* rgb */ color: rgb(44, 51, 11);
/* oklch */ color: oklch(30.5% 0.060 118.7);
Tailwind
colors: {
  custom: {
    50: '#666a4c',
    500: '#2c330b',
    950: '#000000',
  },
}
SCSS
$custom: #2c330b;
$custom-light: #666a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c330b",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 11
  },
  "hsl": {
    "h": 70.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30482,
    "c": 0.06033,
    "h": 118.7
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#2C330B
secondary
#362A70
accent
#40E85E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C330B

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

Preview Lab → · Contrast checker → · Palette generator →

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