#2E2A01#2E2A01

#2E2A01 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.1% C 0.058 H 103.8°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#2E2A01
RGBrgb(46, 42, 1)
HSLhsl(55, 96%, 9%)
HSVhsv(55, 98%, 18%)
CMYKcmyk(0%, 8.7%, 97.8%, 82%)
CIE-LABlab(16.70, -3.81, 23.67)
CIE-LCHlch(16.70, 23.97, 99.14°)
OKLaboklab(28.06% -0.0139 0.0564)
OKLCHoklch(28.06% 0.058 103.8)
XYZxyz(1.9603, 2.2391, 0.3576)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A01 #01052E
analogous
#2E1401 #2E2A01 #1C2E01
triadic
#2E2A01 #012E2A #2A012E
tetradic
#2E2A01 #012E14 #01052E #2E011C
square
#2E2A01 #012E14 #01052E #2E011C
split-complementary
#2E2A01 #011C2E #14012E
monochromatic
#1E1B01 #1E1B01 #2E2A01 #6A6102 #A69704

Accessibility & contrast

On white

14.50
#2E2A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2E2A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A01
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A01#FFFFFF#000000##FFFFFF
##2E2A011.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#302A03
Tritanopia (blue-blind)
#322622
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2a01;
/* rgb */ color: rgb(46, 42, 1);
/* oklch */ color: oklch(28.1% 0.058 103.8);
Tailwind
colors: {
  custom: {
    50: '#686347',
    500: '#2e2a01',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a01;
$custom-light: #686347;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a01",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 54.667,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28056,
    "c": 0.05806,
    "h": 103.8
  },
  "luminance": 0.02239
}

Semantic roles & 50–950 ramp

primary
#2E2A01
secondary
#171F74
accent
#3CFF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2E2A01

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

Preview Lab → · Contrast checker → · Palette generator →

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