#2A2607#2A2607

#2A2607 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.6% C 0.047 H 102.0°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#2A2607
RGBrgb(42, 38, 7)
HSLhsl(53, 71%, 10%)
HSVhsv(53, 83%, 16%)
CMYKcmyk(0%, 9.5%, 83.3%, 83.5%)
CIE-LABlab(14.92, -2.87, 18.89)
CIE-LCHlch(14.92, 19.11, 98.63°)
OKLaboklab(26.56% -0.0098 0.0462)
OKLCHoklch(26.56% 0.047 102)
XYZxyz(1.6864, 1.8939, 0.4777)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2607 #070B2A
analogous
#2A1507 #2A2607 #1D2A07
triadic
#2A2607 #072A26 #26072A
tetradic
#2A2607 #072A15 #070B2A #2A071D
square
#2A2607 #072A15 #070B2A #2A071D
split-complementary
#2A2607 #071D2A #15072A
monochromatic
#1A1804 #1A1804 #2A2607 #5E5510 #938518

Accessibility & contrast

On white

15.23
#2A2607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2A2607 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2607
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2607#FFFFFF#000000##FFFFFF
##2A26071.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2504
Deuteranopia (green-blind)
#2C2609
Tritanopia (blue-blind)
#2E2320
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2a2607;
/* rgb */ color: rgb(42, 38, 7);
/* oklch */ color: oklch(26.6% 0.047 102.0);
Tailwind
colors: {
  custom: {
    50: '#64604a',
    500: '#2a2607',
    950: '#000000',
  },
}
SCSS
$custom: #2a2607;
$custom-light: #64604a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2607",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 7
  },
  "hsl": {
    "h": 53.143,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26557,
    "c": 0.04721,
    "h": 102
  },
  "luminance": 0.01894
}

Semantic roles & 50–950 ramp

primary
#2A2607
secondary
#232B6A
accent
#4EEE3A
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A2607

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

Preview Lab → · Contrast checker → · Palette generator →

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