#2A2C0D#2A2C0D

#2A2C0D is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.049 H 112.5°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#2A2C0D
RGBrgb(42, 44, 13)
HSLhsl(64, 54%, 11%)
HSVhsv(64, 70%, 17%)
CMYKcmyk(4.5%, 0%, 70.5%, 82.7%)
CIE-LABlab(17.10, -6.29, 19.07)
CIE-LCHlch(17.10, 20.08, 108.26°)
OKLaboklab(28.31% -0.0186 0.0449)
OKLCHoklch(28.31% 0.049 112.5)
XYZxyz(1.9282, 2.3227, 0.7274)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C0D #0F0D2C
analogous
#2C1E0D #2A2C0D #1A2C0D
triadic
#2A2C0D #0D2A2C #2C0D2A
tetradic
#2A2C0D #0D2C1E #0F0D2C #2C0D1A
square
#2A2C0D #0D2C1E #0F0D2C #2C0D1A
split-complementary
#2A2C0D #0D1A2C #1E0D2C
monochromatic
#171807 #171807 #2A2C0D #575B1B #848A29

Accessibility & contrast

On white

14.34
#2A2C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2A2C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C0D
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C0D#FFFFFF#000000##FFFFFF
##2A2C0D1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0A
Deuteranopia (green-blind)
#302A0F
Tritanopia (blue-blind)
#2D2925
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a2c0d;
/* rgb */ color: rgb(42, 44, 13);
/* oklch */ color: oklch(28.3% 0.049 112.5);
Tailwind
colors: {
  custom: {
    50: '#64654d',
    500: '#2a2c0d',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c0d;
$custom-light: #64654d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c0d",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 13
  },
  "hsl": {
    "h": 63.871,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28314,
    "c": 0.04857,
    "h": 112.5
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#2A2C0D
secondary
#322E67
accent
#4ADE54
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050501
muted
#7A7A77

Preview Lab

Preview with #2A2C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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