#2A2C09#2A2C09

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

Color values

HEX#2A2C09
RGBrgb(42, 44, 9)
HSLhsl(63, 66%, 10%)
HSVhsv(63, 80%, 17%)
CMYKcmyk(4.5%, 0%, 79.5%, 82.7%)
CIE-LABlab(17.05, -6.65, 20.75)
CIE-LCHlch(17.05, 21.79, 107.78°)
OKLaboklab(28.26% -0.0202 0.0488)
OKLCHoklch(28.26% 0.053 112.5)
XYZxyz(1.9049, 2.3134, 0.6046)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C09 #0B092C
analogous
#2C1C09 #2A2C09 #182C09
triadic
#2A2C09 #092A2C #2C092A
tetradic
#2A2C09 #092C1C #0B092C #2C0918
square
#2A2C09 #092C1C #0B092C #2C0918
split-complementary
#2A2C09 #09182C #1C092C
monochromatic
#181905 #181905 #2A2C09 #5A5F13 #8B921E

Accessibility & contrast

On white

14.36
#2A2C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2C09
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C09#FFFFFF#000000##FFFFFF
##2A2C091.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2c09;
/* rgb */ color: rgb(42, 44, 9);
/* oklch */ color: oklch(28.3% 0.053 112.5);
Tailwind
colors: {
  custom: {
    50: '#65644b',
    500: '#2a2c09',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c09;
$custom-light: #65644b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c09",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 9
  },
  "hsl": {
    "h": 63.429,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28264,
    "c": 0.05277,
    "h": 112.5
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#2A2C09
secondary
#2B276A
accent
#3FE949
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2A2C09

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

Preview Lab → · Contrast checker → · Palette generator →

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