#2A2E0B#2A2E0B

#2A2E0B is a dark, muted yellow. Relative luminance 0.025; OKLCH L 28.9% C 0.054 H 115.4°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#2A2E0B
RGBrgb(42, 46, 11)
HSLhsl(67, 61%, 11%)
HSVhsv(67, 76%, 18%)
CMYKcmyk(8.7%, 0%, 76.1%, 82%)
CIE-LABlab(17.78, -7.76, 20.82)
CIE-LCHlch(17.78, 22.22, 110.45°)
OKLaboklab(28.86% -0.023 0.0485)
OKLCHoklch(28.86% 0.054 115.4)
XYZxyz(1.9923, 2.4704, 0.6884)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E0B #0F0B2E
analogous
#2E200B #2A2E0B #182E0B
triadic
#2A2E0B #0B2A2E #2E0B2A
tetradic
#2A2E0B #0B2E20 #0F0B2E #2E0B18
square
#2A2E0B #0B2E20 #0F0B2E #2E0B18
split-complementary
#2A2E0B #0B182E #200B2E
monochromatic
#171906 #171906 #2A2E0B #575F17 #849123

Accessibility & contrast

On white

14.06
#2A2E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2A2E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E0B
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E0B#FFFFFF#000000##FFFFFF
##2A2E0B1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B07
Deuteranopia (green-blind)
#312C0D
Tritanopia (blue-blind)
#2D2B27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2e0b;
/* rgb */ color: rgb(42, 46, 11);
/* oklch */ color: oklch(28.9% 0.054 115.4);
Tailwind
colors: {
  custom: {
    50: '#65664c',
    500: '#2a2e0b',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e0b;
$custom-light: #65664c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e0b",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 11
  },
  "hsl": {
    "h": 66.857,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28857,
    "c": 0.05369,
    "h": 115.4
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#2A2E0B
secondary
#322A6A
accent
#43E556
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #2A2E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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