#2A2707#2A2707

#2A2707 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 26.8% C 0.048 H 104.0°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#2A2707
RGBrgb(42, 39, 7)
HSLhsl(55, 71%, 10%)
HSVhsv(55, 83%, 16%)
CMYKcmyk(0%, 7.1%, 83.3%, 83.5%)
CIE-LABlab(15.27, -3.54, 19.34)
CIE-LCHlch(15.27, 19.66, 100.37°)
OKLaboklab(26.83% -0.0117 0.0469)
OKLCHoklch(26.83% 0.048 104)
XYZxyz(1.7188, 1.9587, 0.4885)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2707 #070A2A
analogous
#2A1607 #2A2707 #1C2A07
triadic
#2A2707 #072A27 #27072A
tetradic
#2A2707 #072A16 #070A2A #2A071C
square
#2A2707 #072A16 #070A2A #2A071C
split-complementary
#2A2707 #071C2A #16072A
monochromatic
#1A1804 #1A1804 #2A2707 #5E5810 #938818

Accessibility & contrast

On white

15.09
#2A2707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2A2707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2707
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2707#FFFFFF#000000##FFFFFF
##2A27071.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2504
Deuteranopia (green-blind)
#2C2709
Tritanopia (blue-blind)
#2E2420
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2a2707;
/* rgb */ color: rgb(42, 39, 7);
/* oklch */ color: oklch(26.8% 0.048 104.0);
Tailwind
colors: {
  custom: {
    50: '#64604a',
    500: '#2a2707',
    950: '#000000',
  },
}
SCSS
$custom: #2a2707;
$custom-light: #64604a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2707",
  "rgb": {
    "r": 42,
    "g": 39,
    "b": 7
  },
  "hsl": {
    "h": 54.857,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26835,
    "c": 0.04837,
    "h": 104
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#2A2707
secondary
#23296A
accent
#49EE3A
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A2707

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

Preview Lab → · Contrast checker → · Palette generator →

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