#2C3101#2C3101

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

Color values

HEX#2C3101
RGBrgb(44, 49, 1)
HSLhsl(66, 96%, 10%)
HSVhsv(66, 98%, 19%)
CMYKcmyk(10.2%, 0%, 98%, 80.8%)
CIE-LABlab(18.95, -9.39, 26.32)
CIE-LCHlch(18.95, 27.95, 109.63°)
OKLaboklab(29.81% -0.0291 0.0603)
OKLCHoklch(29.81% 0.067 115.8)
XYZxyz(2.1426, 2.7343, 0.4436)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3101 #060131
analogous
#311E01 #2C3101 #143101
triadic
#2C3101 #012C31 #31012C
tetradic
#2C3101 #01311E #060131 #310114
square
#2C3101 #01311E #060131 #310114
split-complementary
#2C3101 #011431 #1E0131
monochromatic
#1B1E01 #1B1E01 #2C3101 #626D02 #98A903

Accessibility & contrast

On white

13.58
#2C3101 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3101
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3101#FFFFFF#000000##FFFFFF
##2C31011.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3101;
/* rgb */ color: rgb(44, 49, 1);
/* oklch */ color: oklch(29.8% 0.067 115.8);
Tailwind
colors: {
  custom: {
    50: '#676947',
    500: '#2c3101',
    950: '#000000',
  },
}
SCSS
$custom: #2c3101;
$custom-light: #676947;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3101",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 1
  },
  "hsl": {
    "h": 66.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29807,
    "c": 0.06694,
    "h": 115.8
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#2C3101
secondary
#211777
accent
#29FF3F
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2C3101

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

Preview Lab → · Contrast checker → · Palette generator →

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