#2E3101#2E3101

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

Color values

HEX#2E3101
RGBrgb(46, 49, 1)
HSLhsl(64, 96%, 10%)
HSVhsv(64, 98%, 19%)
CMYKcmyk(6.1%, 0%, 98%, 80.8%)
CIE-LABlab(19.14, -8.31, 26.59)
CIE-LCHlch(19.14, 27.86, 107.35°)
OKLaboklab(30.01% -0.0263 0.0607)
OKLCHoklch(30.01% 0.066 113.4)
XYZxyz(2.2306, 2.7797, 0.4477)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3101 #040131
analogous
#311C01 #2E3101 #163101
triadic
#2E3101 #012E31 #31012E
tetradic
#2E3101 #01311C #040131 #310116
square
#2E3101 #01311C #040131 #310116
split-complementary
#2E3101 #011631 #1C0131
monochromatic
#1C1E01 #1C1E01 #2E3101 #666D02 #9FA903

Accessibility & contrast

On white

13.50
#2E3101 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3101
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3101#FFFFFF#000000##FFFFFF
##2E31011.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#362F04
Tritanopia (blue-blind)
#322D28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e3101;
/* rgb */ color: rgb(46, 49, 1);
/* oklch */ color: oklch(30.0% 0.066 113.4);
Tailwind
colors: {
  custom: {
    50: '#686847',
    500: '#2e3101',
    950: '#000000',
  },
}
SCSS
$custom: #2e3101;
$custom-light: #686847;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3101",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 1
  },
  "hsl": {
    "h": 63.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.30009,
    "c": 0.06611,
    "h": 113.4
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#2E3101
secondary
#1D1777
accent
#29FF36
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2E3101

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

Preview Lab → · Contrast checker → · Palette generator →

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