#2E2C07#2E2C07

#2E2C07 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.054 H 106.3°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#2E2C07
RGBrgb(46, 44, 7)
HSLhsl(57, 74%, 10%)
HSVhsv(57, 85%, 18%)
CMYKcmyk(0%, 4.3%, 84.8%, 82%)
CIE-LABlab(17.45, -4.64, 22.15)
CIE-LCHlch(17.45, 22.63, 101.83°)
OKLaboklab(28.68% -0.0151 0.0517)
OKLCHoklch(28.68% 0.054 106.3)
XYZxyz(2.0658, 2.3976, 0.5549)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C07 #07092E
analogous
#2E1807 #2E2C07 #1C2E07
triadic
#2E2C07 #072E2C #2C072E
tetradic
#2E2C07 #072E18 #07092E #2E071C
square
#2E2C07 #072E18 #07092E #2E071C
split-complementary
#2E2C07 #071C2E #18072E
monochromatic
#1B1904 #1B1904 #2E2C07 #635F0F #989217

Accessibility & contrast

On white

14.19
#2E2C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2C07
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C07#FFFFFF#000000##FFFFFF
##2E2C071.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A03
Deuteranopia (green-blind)
#312C09
Tritanopia (blue-blind)
#322825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2c07;
/* rgb */ color: rgb(46, 44, 7);
/* oklch */ color: oklch(28.7% 0.054 106.3);
Tailwind
colors: {
  custom: {
    50: '#68644a',
    500: '#2e2c07',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c07;
$custom-light: #68644a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c07",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 56.923,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28676,
    "c": 0.05385,
    "h": 106.3
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#2E2C07
secondary
#23276E
accent
#41F038
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2E2C07

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

Preview Lab → · Contrast checker → · Palette generator →

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