#2E2F0F#2E2F0F

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

Color values

HEX#2E2F0F
RGBrgb(46, 47, 15)
HSLhsl(62, 52%, 12%)
HSVhsv(62, 68%, 18%)
CMYKcmyk(2.1%, 0%, 68.1%, 81.6%)
CIE-LABlab(18.58, -5.91, 19.93)
CIE-LCHlch(18.58, 20.79, 106.51°)
OKLaboklab(29.6% -0.0175 0.0464)
OKLCHoklch(29.6% 0.05 110.7)
XYZxyz(2.2295, 2.6484, 0.8456)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F0F #100F2F
analogous
#2F200F #2E2F0F #1E2F0F
triadic
#2E2F0F #0F2E2F #2F0F2E
tetradic
#2E2F0F #0F2F20 #100F2F #2F0F1E
square
#2E2F0F #0F2F20 #100F2F #2F0F1E
split-complementary
#2E2F0F #0F1E2F #200F2F
monochromatic
#171707 #171707 #2E2F0F #5B5D1E #898C2D

Accessibility & contrast

On white

13.73
#2E2F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2F0F
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F0F#FFFFFF#000000##FFFFFF
##2E2F0F1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0C
Deuteranopia (green-blind)
#332E11
Tritanopia (blue-blind)
#312C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2f0f;
/* rgb */ color: rgb(46, 47, 15);
/* oklch */ color: oklch(29.6% 0.050 110.7);
Tailwind
colors: {
  custom: {
    50: '#68674e',
    500: '#2e2f0f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f0f;
$custom-light: #68674e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f0f",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 61.875,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29603,
    "c": 0.04959,
    "h": 110.7
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#2E2F0F
secondary
#333169
accent
#4DDB51
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2E2F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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