#2E2C01#2E2C01

#2E2C01 is a dark, moderate yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.060 H 106.9°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#2E2C01
RGBrgb(46, 44, 1)
HSLhsl(57, 96%, 9%)
HSVhsv(57, 98%, 18%)
CMYKcmyk(0%, 4.3%, 97.8%, 82%)
CIE-LABlab(17.39, -5.12, 24.52)
CIE-LCHlch(17.39, 25.05, 101.80°)
OKLaboklab(28.61% -0.0175 0.0576)
OKLCHoklch(28.61% 0.06 106.9)
XYZxyz(2.0330, 2.3845, 0.3819)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C01 #01032E
analogous
#2E1601 #2E2C01 #1A2E01
triadic
#2E2C01 #012E2C #2C012E
tetradic
#2E2C01 #012E16 #01032E #2E011A
square
#2E2C01 #012E16 #01032E #2E011A
split-complementary
#2E2C01 #011A2E #16012E
monochromatic
#1E1D01 #1E1D01 #2E2C01 #6A6502 #A69F04

Accessibility & contrast

On white

14.22
#2E2C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2E2C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C01
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C01#FFFFFF#000000##FFFFFF
##2E2C011.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#322B03
Tritanopia (blue-blind)
#322824
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2c01;
/* rgb */ color: rgb(46, 44, 1);
/* oklch */ color: oklch(28.6% 0.060 106.9);
Tailwind
colors: {
  custom: {
    50: '#686447',
    500: '#2e2c01',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c01;
$custom-light: #686447;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c01",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 57.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28608,
    "c": 0.0602,
    "h": 106.9
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#2E2C01
secondary
#171B74
accent
#32FF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2E2C01

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

Preview Lab → · Contrast checker → · Palette generator →

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