#2E3105#2E3105

#2E3105 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.0% C 0.062 H 113.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#2E3105
RGBrgb(46, 49, 5)
HSLhsl(64, 81%, 11%)
HSVhsv(64, 90%, 19%)
CMYKcmyk(6.1%, 0%, 89.8%, 80.8%)
CIE-LABlab(19.18, -8.00, 25.01)
CIE-LCHlch(19.18, 26.26, 107.74°)
OKLaboklab(30.05% -0.0248 0.057)
OKLCHoklch(30.05% 0.062 113.5)
XYZxyz(2.2525, 2.7885, 0.5631)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3105 #080531
analogous
#311E05 #2E3105 #183105
triadic
#2E3105 #052E31 #31052E
tetradic
#2E3105 #05311E #080531 #310518
square
#2E3105 #05311E #080531 #310518
split-complementary
#2E3105 #051831 #1E0531
monochromatic
#1A1C03 #1A1C03 #2E3105 #62690B #96A010

Accessibility & contrast

On white

13.48
#2E3105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2E3105 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3105
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3105#FFFFFF#000000##FFFFFF
##2E31051.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#352F08
Tritanopia (blue-blind)
#322D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e3105;
/* rgb */ color: rgb(46, 49, 5);
/* oklch */ color: oklch(30.0% 0.062 113.5);
Tailwind
colors: {
  custom: {
    50: '#686849',
    500: '#2e3105',
    950: '#000000',
  },
}
SCSS
$custom: #2e3105;
$custom-light: #686849;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3105",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 5
  },
  "hsl": {
    "h": 64.091,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.3005,
    "c": 0.06218,
    "h": 113.5
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#2E3105
secondary
#251F72
accent
#30F83E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3105

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

Preview Lab → · Contrast checker → · Palette generator →

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