#2E2F0D#2E2F0D

#2E2F0D is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.6% C 0.052 H 110.8°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#2E2F0D
RGBrgb(46, 47, 13)
HSLhsl(62, 57%, 12%)
HSVhsv(62, 72%, 18%)
CMYKcmyk(2.1%, 0%, 72.3%, 81.6%)
CIE-LABlab(18.55, -6.10, 20.92)
CIE-LCHlch(18.55, 21.79, 106.26°)
OKLaboklab(29.58% -0.0184 0.0484)
OKLCHoklch(29.58% 0.052 110.8)
XYZxyz(2.2159, 2.6430, 0.7741)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F0D #0E0D2F
analogous
#2F1F0D #2E2F0D #1D2F0D
triadic
#2E2F0D #0D2E2F #2F0D2E
tetradic
#2E2F0D #0D2F1F #0E0D2F #2F0D1D
square
#2E2F0D #0D2F1F #0E0D2F #2F0D1D
split-complementary
#2E2F0D #0D1D2F #1F0D2F
monochromatic
#171807 #171807 #2E2F0D #5D5F1A #8C8F28

Accessibility & contrast

On white

13.74
#2E2F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2E2F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F0D
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F0D#FFFFFF#000000##FFFFFF
##2E2F0D1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D09
Deuteranopia (green-blind)
#332E0F
Tritanopia (blue-blind)
#322C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2f0d;
/* rgb */ color: rgb(46, 47, 13);
/* oklch */ color: oklch(29.6% 0.052 110.8);
Tailwind
colors: {
  custom: {
    50: '#68674d',
    500: '#2e2f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f0d;
$custom-light: #68674d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f0d",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 13
  },
  "hsl": {
    "h": 61.765,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29577,
    "c": 0.05179,
    "h": 110.8
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#2E2F0D
secondary
#302E6A
accent
#48E04C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E2F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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