#2E3505#2E3505

#2E3505 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.2% C 0.068 H 117.9°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#2E3505
RGBrgb(46, 53, 5)
HSLhsl(69, 83%, 11%)
HSVhsv(69, 91%, 21%)
CMYKcmyk(13.2%, 0%, 90.6%, 79.2%)
CIE-LABlab(20.59, -10.47, 26.61)
CIE-LCHlch(20.59, 28.59, 111.47°)
OKLaboklab(31.18% -0.0316 0.0598)
OKLCHoklch(31.18% 0.068 117.9)
XYZxyz(2.4273, 3.1380, 0.6214)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3505 #0C0535
analogous
#352405 #2E3505 #163505
triadic
#2E3505 #052E35 #35052E
tetradic
#2E3505 #053524 #0C0535 #350516
square
#2E3505 #053524 #0C0535 #350516
split-complementary
#2E3505 #051635 #240535
monochromatic
#181C03 #181C03 #2E3505 #5F6D0A #8FA510

Accessibility & contrast

On white

12.90
#2E3505 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E3505 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3505
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3505#FFFFFF#000000##FFFFFF
##2E35051.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#393209
Tritanopia (blue-blind)
#31312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e3505;
/* rgb */ color: rgb(46, 53, 5);
/* oklch */ color: oklch(31.2% 0.068 117.9);
Tailwind
colors: {
  custom: {
    50: '#686c4a',
    500: '#2e3505',
    950: '#000000',
  },
}
SCSS
$custom: #2e3505;
$custom-light: #686c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3505",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 5
  },
  "hsl": {
    "h": 68.75,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.31184,
    "c": 0.06759,
    "h": 117.9
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#2E3505
secondary
#2C2076
accent
#2FF94C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3505

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

Preview Lab → · Contrast checker → · Palette generator →

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