#2C3102#2C3102

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

Color values

HEX#2C3102
RGBrgb(44, 49, 2)
HSLhsl(66, 92%, 10%)
HSVhsv(66, 96%, 19%)
CMYKcmyk(10.2%, 0%, 95.9%, 80.8%)
CIE-LABlab(18.96, -9.31, 25.92)
CIE-LCHlch(18.96, 27.55, 109.75°)
OKLaboklab(29.82% -0.0287 0.0593)
OKLCHoklch(29.82% 0.066 115.9)
XYZxyz(2.1480, 2.7365, 0.4725)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3102 #070231
analogous
#311F02 #2C3102 #143102
triadic
#2C3102 #022C31 #31022C
tetradic
#2C3102 #02311F #070231 #310214
square
#2C3102 #02311F #070231 #310214
split-complementary
#2C3102 #021431 #1F0231
monochromatic
#1A1D01 #1A1D01 #2C3102 #616C04 #96A707

Accessibility & contrast

On white

13.57
#2C3102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3102
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3102#FFFFFF#000000##FFFFFF
##2C31021.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3102;
/* rgb */ color: rgb(44, 49, 2);
/* oklch */ color: oklch(29.8% 0.066 115.9);
Tailwind
colors: {
  custom: {
    50: '#676948',
    500: '#2c3102',
    950: '#000000',
  },
}
SCSS
$custom: #2c3102;
$custom-light: #676948;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3102",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 66.383,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.29817,
    "c": 0.06592,
    "h": 115.9
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#2C3102
secondary
#231975
accent
#29FF40
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2C3102

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

Preview Lab → · Contrast checker → · Palette generator →

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