#2E300B#2E300B

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

Color values

HEX#2E300B
RGBrgb(46, 48, 11)
HSLhsl(63, 63%, 12%)
HSVhsv(63, 77%, 19%)
CMYKcmyk(4.2%, 0%, 77.1%, 81.2%)
CIE-LABlab(18.88, -6.91, 22.21)
CIE-LCHlch(18.88, 23.26, 107.28°)
OKLaboklab(29.83% -0.0209 0.0511)
OKLCHoklch(29.83% 0.055 112.3)
XYZxyz(2.2441, 2.7190, 0.7231)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E300B #0D0B30
analogous
#30200B #2E300B #1C300B
triadic
#2E300B #0B2E30 #300B2E
tetradic
#2E300B #0B3020 #0D0B30 #300B1C
square
#2E300B #0B3020 #0D0B30 #300B1C
split-complementary
#2E300B #0B1C30 #200B30
monochromatic
#181906 #181906 #2E300B #5E6216 #8D9422

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E300B#FFFFFF#000000##FFFFFF
##2E300B1.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)
#342D07
Deuteranopia (green-blind)
#342E0D
Tritanopia (blue-blind)
#322D28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e300b;
/* rgb */ color: rgb(46, 48, 11);
/* oklch */ color: oklch(29.8% 0.055 112.3);
Tailwind
colors: {
  custom: {
    50: '#68684c',
    500: '#2e300b',
    950: '#000000',
  },
}
SCSS
$custom: #2e300b;
$custom-light: #68684c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e300b",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 11
  },
  "hsl": {
    "h": 63.243,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29832,
    "c": 0.0552,
    "h": 112.3
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#2E300B
secondary
#2E2A6D
accent
#42E64B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E300B

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

Preview Lab → · Contrast checker → · Palette generator →

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