#2E300C#2E300C

#2E300C is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.054 H 112.3°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#2E300C
RGBrgb(46, 48, 12)
HSLhsl(63, 60%, 12%)
HSVhsv(63, 75%, 19%)
CMYKcmyk(4.2%, 0%, 75%, 81.2%)
CIE-LABlab(18.89, -6.83, 21.78)
CIE-LCHlch(18.89, 22.82, 107.40°)
OKLaboklab(29.84% -0.0205 0.0502)
OKLCHoklch(29.84% 0.054 112.3)
XYZxyz(2.2501, 2.7213, 0.7545)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E300C #0E0C30
analogous
#30200C #2E300C #1C300C
triadic
#2E300C #0C2E30 #300C2E
tetradic
#2E300C #0C3020 #0E0C30 #300C1C
square
#2E300C #0C3020 #0E0C30 #300C1C
split-complementary
#2E300C #0C1C30 #200C30
monochromatic
#171806 #171806 #2E300C #5D6118 #8C9224

Accessibility & contrast

On white

13.60
#2E300C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2E300C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E300C
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E300C#FFFFFF#000000##FFFFFF
##2E300C1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D08
Deuteranopia (green-blind)
#342E0E
Tritanopia (blue-blind)
#322D28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e300c;
/* rgb */ color: rgb(46, 48, 12);
/* oklch */ color: oklch(29.8% 0.054 112.3);
Tailwind
colors: {
  custom: {
    50: '#68684d',
    500: '#2e300c',
    950: '#000000',
  },
}
SCSS
$custom: #2e300c;
$custom-light: #68684d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e300c",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 12
  },
  "hsl": {
    "h": 63.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29843,
    "c": 0.05422,
    "h": 112.3
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#2E300C
secondary
#302C6C
accent
#45E34D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E300C

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

Preview Lab → · Contrast checker → · Palette generator →

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