#2A2E09#2A2E09

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

Color values

HEX#2A2E09
RGBrgb(42, 46, 9)
HSLhsl(66, 67%, 11%)
HSVhsv(66, 80%, 18%)
CMYKcmyk(8.7%, 0%, 80.4%, 82%)
CIE-LABlab(17.76, -7.93, 21.62)
CIE-LCHlch(17.76, 23.03, 110.15°)
OKLaboklab(28.83% -0.0237 0.0503)
OKLCHoklch(28.83% 0.056 115.2)
XYZxyz(1.9812, 2.4660, 0.6300)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E09 #0D092E
analogous
#2E1F09 #2A2E09 #172E09
triadic
#2A2E09 #092A2E #2E092A
tetradic
#2A2E09 #092E1F #0D092E #2E0917
square
#2A2E09 #092E1F #0D092E #2E0917
split-complementary
#2A2E09 #09172E #1F092E
monochromatic
#171A05 #171A05 #2A2E09 #596113 #87941D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2E09#FFFFFF#000000##FFFFFF
##2A2E091.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)
#322B05
Deuteranopia (green-blind)
#322C0C
Tritanopia (blue-blind)
#2D2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2e09;
/* rgb */ color: rgb(42, 46, 9);
/* oklch */ color: oklch(28.8% 0.056 115.2);
Tailwind
colors: {
  custom: {
    50: '#65664b',
    500: '#2a2e09',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e09;
$custom-light: #65664b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e09",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 9
  },
  "hsl": {
    "h": 66.486,
    "s": 67.273,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28834,
    "c": 0.05564,
    "h": 115.2
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#2A2E09
secondary
#2E276C
accent
#3EEA50
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A2E09

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

Preview Lab → · Contrast checker → · Palette generator →

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